@jroid8 to Programmer [email protected] • 1 year agoknow the features of your languageimagemessage-square144arrow-up1647arrow-down123
arrow-up1624arrow-down1imageknow the features of your language@jroid8 to Programmer [email protected] • 1 year agomessage-square144
minus-square@[email protected]linkfedilink1•edit-21 year 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.