summaryrefslogtreecommitdiff
path: root/exercises/01_variables/variables5.rs
blob: 49db8e9ed28ee42d7563c35ff169a8c7e3054a3a (plain)
1
2
3
4
5
6
7
8
fn main() {
    let number = "T-H-R-E-E"; // Don't change this line
    println!("Spell a number: {}", number);

    // TODO: Fix the compiler error by changing the line below without renaming the variable.
    number = 3;
    println!("Number plus two is: {}", number + 2);
}