Layout
We'll cover the following...
Look at this piece of code:
Rust 1.40.0
fn main() {println!("Hello, world!");{let name = "Michael";println!("Nice to meet you, {}!", name);}println!("Have a great day");}
Now compare it to this one:
Rust 1.40.0
fn main(){println!("Hello, world!");{let name = "Michael"; println!("Nice to meet you, {}!", name);} println!("Have a great day"); }
These ...
Ask