2021-07-08 02:58:36 +07:00
|
|
|
// variables3.rs
|
|
|
|
// Make me compile! Execute the command `rustlings hint variables3` if you want a hint :)
|
|
|
|
|
|
|
|
fn main() {
|
2021-07-08 03:02:31 +07:00
|
|
|
let mut x = 3;
|
2021-07-08 02:58:36 +07:00
|
|
|
println!("Number {}", x);
|
|
|
|
x = 5; // don't change this line
|
|
|
|
println!("Number {}", x);
|
|
|
|
}
|