summaryrefslogtreecommitdiff
path: root/exercises/01_variables/variables5.rs
blob: 085e0994f7237c6ee9c1e6c70aa1e020892aa7d6 (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.
    let number = 3;
    println!("Number plus two is: {}", number + 2);
}