this post was submitted on 01 Apr 2025
173 points (88.8% liked)

Programmer Humor

34821 readers
430 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] renegadespork@lemmy.jelliefrontier.net 6 points 4 days ago* (last edited 4 days ago) (3 children)

let comment: String = String::from(“lol”);
println!(“{}”, comment);

[–] spacecadet@lemm.ee 0 points 4 days ago (1 children)

Not inside a main function, won’t pass rust compiler check

Just a snippet from a bigger function.

load more comments (1 replies)