HNHacker News
TopNewBestAskShowJobs

kochismo

5 karma · joined December 31, 2013

submissionscomments
kochismo··on A half-hour to learn Rust
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.
kochismo··on A half-hour to learn Rust
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
kochismo··on The strange foods that Americans loved a century ago
牛油 means "butter" so butter fruit. The reason is probably the colour and texture