MasterNerd@lemm.ee to Programmer Humor@lemmy.ml · 3 days agoLabels go brrrrlemm.eeimagemessage-square31fedilinkarrow-up1193cross-posted to: [email protected]
arrow-up1193imageLabels go brrrrlemm.eeMasterNerd@lemm.ee to Programmer Humor@lemmy.ml · 3 days agomessage-square31fedilinkcross-posted to: [email protected]
minus-squarerenegadespork@lemmy.jelliefrontier.netlinkfedilinkEnglisharrow-up6·edit-22 days agolet comment: String = String::from(“lol”); println!(“{}”, comment);
minus-squareBogasse@lemmy.mllinkfedilinkarrow-up11·edit-22 days agoprintln! ("{comment}"); C’mon, it’s 2025!
minus-squarespacecadet@lemm.eelinkfedilinkarrow-up1·2 days agoNot inside a main function, won’t pass rust compiler check
minus-squarerenegadespork@lemmy.jelliefrontier.netlinkfedilinkEnglisharrow-up2·2 days agoJust a snippet from a bigger function.
let comment: String = String::from(“lol”);
println!(“{}”, comment);
println! ("{comment}");
C’mon, it’s 2025!
Not inside a main function, won’t pass rust compiler check
Just a snippet from a bigger function.