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