HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-24 days agoWhy make it complicated?imagemessage-square120linkfedilinkarrow-up1368arrow-down139file-text
arrow-up1329arrow-down1imageWhy make it complicated?HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-24 days agomessage-square120linkfedilinkfile-text
minus-squareanton@lemmy.blahaj.zonelinkfedilinkarrow-up4·3 days agoAt least be fair and cut out the .into()
minus-squarenebeker@programming.devlinkfedilinkEnglisharrow-up3·3 days 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.