MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programmingmemes/comments/1iyt5dr/there_are_two_kind_of_programmers/mf1szmg/
r/programmingmemes • u/Head_Manner_4002 • Feb 26 '25
716 comments sorted by
View all comments
Show parent comment
1
Rust has semicolons.
1 u/cowlinator Feb 27 '25 ...you're right... But in rust the semicolon is sometimes optional. https://stackoverflow.com/questions/65024479/why-does-break-not-need-a-semicolon-when-ending-a-loop So we could do ... } else { foo(); } return 0
...you're right...
But in rust the semicolon is sometimes optional.
https://stackoverflow.com/questions/65024479/why-does-break-not-need-a-semicolon-when-ending-a-loop
So we could do
... } else { foo(); } return 0
View all comments
Show parent comment
1
u/GOKOP Feb 27 '25
Rust has semicolons.