jroid8@lemmy.world to Programmer Humor@lemmy.ml · 7 months agoknow the features of your languagelemmy.worldimagemessage-square149fedilinkarrow-up1646arrow-down124
arrow-up1622arrow-down1imageknow the features of your languagelemmy.worldjroid8@lemmy.world to Programmer Humor@lemmy.ml · 7 months agomessage-square149fedilink
minus-squarebarsoaplinkfedilinkarrow-up1·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.
*shudder*
unwrap_or_else
and passing a closure that ignores its argument is a definitive smell. Probably gets caught by clippy.