@MasterNerd@lemm.ee to Programmer Humor@lemmy.ml • 3 days agoLabels go brrrrlemm.eeimagemessage-square33fedilinkarrow-up1195arrow-down123cross-posted to: programmer_humor@programming.dev
arrow-up1172arrow-down1imageLabels go brrrrlemm.ee@MasterNerd@lemm.ee to Programmer Humor@lemmy.ml • 3 days agomessage-square33fedilinkcross-posted to: programmer_humor@programming.dev
minus-square@renegadespork@lemmy.jelliefrontier.netlinkfedilinkEnglish6•edit-23 days agolet comment: String = String::from(“lol”); println!(“{}”, comment);
minus-square@spacecadet@lemm.eelinkfedilink0•3 days agoNot inside a main function, won’t pass rust compiler check
minus-square@renegadespork@lemmy.jelliefrontier.netlinkfedilinkEnglish2•3 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.