MasterNerd@lemm.ee to Programmer Humor@lemmy.ml · 5 days agoLabels go brrrrlemm.eeimagemessage-square33fedilinkarrow-up1199arrow-down123cross-posted to: programmer_humor@programming.dev
arrow-up1176arrow-down1imageLabels go brrrrlemm.eeMasterNerd@lemm.ee to Programmer Humor@lemmy.ml · 5 days agomessage-square33fedilinkcross-posted to: programmer_humor@programming.dev
minus-squarerenegadespork@lemmy.jelliefrontier.netlinkfedilinkEnglisharrow-up4·edit-24 days agolet comment: String = String::from(“lol”); println!(“{}”, comment);
minus-squareBogasse@lemmy.mllinkfedilinkarrow-up11·edit-24 days agoprintln!("{comment}"); C’mon, it’s 2025!
minus-squarespacecadet@lemm.eelinkfedilinkarrow-up0arrow-down1·4 days agoNot inside a main function, won’t pass rust compiler check
minus-squarerenegadespork@lemmy.jelliefrontier.netlinkfedilinkEnglisharrow-up1·4 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.