summaryrefslogtreecommitdiff
path: root/exercises/01_variables/variables2.rs
blob: e2fd5d03f2c3dec09af4576c90b4bb7f88fd333c (plain)
1
2
3
4
5
6
7
8
9
10
fn main() {
    // TODO: Change the line below to fix the compiler error.
    let x = 10;

    if x == 10 {
        println!("x is ten!");
    } else {
        println!("x is not ten!");
    }
}