The Picard Maneuver@startrek.websiteM to Lemmy Shitpost@lemmy.world · 10 months agoThis is just cruelstartrek.websiteimagemessage-square88fedilinkarrow-up1809arrow-down132
arrow-up1777arrow-down1imageThis is just cruelstartrek.websiteThe Picard Maneuver@startrek.websiteM to Lemmy Shitpost@lemmy.world · 10 months agomessage-square88fedilink
minus-squarejjagaimo@lemmy.calinkfedilinkEnglisharrow-up20arrow-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() }