HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-21 day agoWhy make it complicated?lemmy.mlimagemessage-square99fedilinkarrow-up1320arrow-down131file-textcross-posted to: programmerhumor@lemmy.ml
arrow-up1289arrow-down1imageWhy make it complicated?lemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-21 day agomessage-square99fedilinkfile-textcross-posted to: programmerhumor@lemmy.ml
minus-squareanton@lemmy.blahaj.zonelinkfedilinkarrow-up2·4 hours agoAt least be fair and cut out the .into()
minus-squarenebeker@programming.devlinkfedilinkEnglisharrow-up1·3 hours agoAnd bow to the compiler’s whims? I think not! This shouldn’t compile, because .into needs the type from the left side and let needs the type from the right side.
At least be fair and cut out the
.into()
And bow to the compiler’s whims? I think not!
This shouldn’t compile, because .into needs the type from the left side and let needs the type from the right side.