TadoTheRustacean@programming.dev to Programmer Humor@programming.dev · 2 years agoWhat are variables and semicolons for actually?message-squaremessage-square27linkfedilinkarrow-up180arrow-down14file-text
arrow-up176arrow-down1message-squareWhat are variables and semicolons for actually?TadoTheRustacean@programming.dev to Programmer Humor@programming.dev · 2 years agomessage-square27linkfedilinkfile-text
minus-squareTadoTheRustacean@programming.devOPlinkfedilinkarrow-up4·2 years agoSemicolons. Statement’s can be written in multiple lines such as rust io::stdin(&mut foo) .unwrap(). Idk if it would work if the newlines were significant. Also when I paste something, it could be ready hard for the formatter to format it.
Semicolons. Statement’s can be written in multiple lines such as
rust io::stdin(&mut foo) .unwrap()
. Idk if it would work if the newlines were significant. Also when I paste something, it could be ready hard for the formatter to format it.