Better HN
topnewbestaskshowjobs
Log inSign up

kochismo

5 karma · joined Dec 31, 2013 (12y ago) · 3 submissions

Submissions

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

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

comment 10y ago · link · parent

牛油 means "butter" so butter fruit. The reason is probably the colour and texture