summaryrefslogtreecommitdiff
path: root/exercises/01_variables/variables4.rs
blob: 68f8f50b02993ea3e9eeb33b9ca0cbfda1ecaa8f (plain)
1
2
3
4
5
6
7
8
9
10
11
// variables4.rs
//
// Execute `rustlings hint variables4` or use the `hint` watch subcommand for a
// hint.

fn main() {
    let x = 3;
    println!("Number {}", x);
    x = 5; // don't change this line
    println!("Number {}", x);
}