In Rust and lots of other languages you have to end each statement with a semicolon. The semi colon is usually placed right after the statement, but in this example there’s indentation after each statement before the semicolon so they’re all aligned.
There’s also the curly brackets, they’re padded in the same way, but those usually define where a scope (block) starts and ends making it even worse.
I don’t know Rust. 🤷🏻♂️
(I mean, I don’t know a lot of Python either so I can’t even get the joke. 😞)
In Rust and lots of other languages you have to end each statement with a semicolon. The semi colon is usually placed right after the statement, but in this example there’s indentation after each statement before the semicolon so they’re all aligned.
There’s also the curly brackets, they’re padded in the same way, but those usually define where a scope (block) starts and ends making it even worse.
Look at the right side of the code editor
These scrollbars with issue indicators are becoming more and more fancy
lmao I didn’t even notice