The Picard Maneuver@startrek.websiteM to Lemmy Shitpost@lemmy.world · 11 months agoThis is just cruelstartrek.websiteimagemessage-square92fedilinkarrow-up1851arrow-down131
arrow-up1820arrow-down1imageThis is just cruelstartrek.websiteThe Picard Maneuver@startrek.websiteM to Lemmy Shitpost@lemmy.world · 11 months agomessage-square92fedilink
minus-squarejjagaimo@lemmy.calinkfedilinkEnglisharrow-up21arrow-down1·11 months agowhile(1){ suffer(); }
minus-squareautokludge@programming.devlinkfedilinkEnglisharrow-up4·11 months agoerror[E0308]: mismatched types --> src/main.rs:2:10 | 2 | while(1){ suffer(); } | ^^^ expected `bool`, found integer
minus-squarePoolloverNathan@programming.devlinkfedilinkEnglisharrow-up2·11 months agoloop { suffer() }
while(1){ suffer(); }
error[E0308]: mismatched types --> src/main.rs:2:10 | 2 | while(1){ suffer(); } | ^^^ expected `bool`, found integer
loop { suffer() }