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