@jroid8 to Programmer [email protected] • 7 months agoknow the features of your languageimagemessage-square145arrow-up1646arrow-down123
arrow-up1623arrow-down1imageknow the features of your language@jroid8 to Programmer [email protected] • 7 months agomessage-square145
minus-square@[email protected]linkfedilink1•edit-27 months 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.