The Picard Maneuver@startrek.websiteM to Lemmy Shitpost@lemmy.world · 10 months agoThis is just cruelstartrek.websiteimagemessage-square95fedilinkarrow-up1852arrow-down131
arrow-up1821arrow-down1imageThis is just cruelstartrek.websiteThe Picard Maneuver@startrek.websiteM to Lemmy Shitpost@lemmy.world · 10 months agomessage-square95fedilink
minus-squarejjagaimo@lemmy.calinkfedilinkEnglisharrow-up21arrow-down1·10 months agowhile(1){ suffer(); }
minus-squareautokludge@programming.devlinkfedilinkEnglisharrow-up4·10 months agoerror[E0308]: mismatched types --> src/main.rs:2:10 | 2 | while(1){ suffer(); } | ^^^ expected `bool`, found integer
minus-squarePoolloverNathan@programming.devlinkfedilinkEnglisharrow-up2·10 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() }