kochismo
Re:A half-hour to learn Rust
on Sunday January 03, 2021 @08:07AM (#25621550)
caps.name("min") returns an Option which you need to handle e.g. by unwrapping. You can use caps["min"] instead if you don't want an option.
Re:A half-hour to learn Rust
on Saturday January 02, 2021 @11:16PM (#25619374)
Even without if let or match many of those unwraps are unnecessary. See https://github.com/zookini/aoc-2020/blob/master/src/bin/2.rs
Re:The strange foods that Americans loved a century ago
on Friday January 29, 2016 @12:07PM (#10996481)
牛油 means "butter" so butter fruit. The reason is probably the colour and texture