jroid8 to Programmer Humor@lemmy.ml · 2 years agoknow the features of your languageimagemessage-square144linkfedilinkarrow-up1647arrow-down123
arrow-up1624arrow-down1imageknow the features of your languagejroid8 to Programmer Humor@lemmy.ml · 2 years agomessage-square144linkfedilink
minus-squaremeliaesclinkfedilinkarrow-up3·2 years agohttps://en.m.wikipedia.org/wiki/Special:MobileDiff/1189044291
minus-squarebarsoap@lemm.eelinkfedilinkarrow-up1·edit-22 years ago .map(|n| n.parse().unwrap_or_else(|_| std::i64::MIN)) *shudder* unwrap_or_else and passing a closure that ignores its argument is a definitive smell. Probably gets caught by clippy.
https://en.m.wikipedia.org/wiki/Special:MobileDiff/1189044291
*shudder*
unwrap_or_else
and passing a closure that ignores its argument is a definitive smell. Probably gets caught by clippy.