summaryrefslogtreecommitdiff
path: root/exercises/01_variables/variables4.rs
blob: 90d4ef05d10545a48a95056c53459fd8cc734903 (plain)
1
2
3
4
5
6
7
8
// TODO: Fix the compiler error.
fn main() {
    let mut x = 3;
    println!("Number {x}");

    x = 5; // Don't change this line
    println!("Number {x}");
}