rustlings/exercises/variables/variables5.rs
2020-05-03 20:09:46 -07:00

10 lines
275 B
Rust

// variables5.rs
// Make me compile! Execute the command `rustlings hint variables5` if you want a hint :)
fn main() {
let number = "3"; // shadowing can init val with diff type
println!("Number {}", number);
let number = 3;
println!("Number {}", number);
}