Redeclare immutable variable and change type - Shadowing



examples/variables/change-type/src/main.rs
fn main() {
    let answer = "What is the answer";
    println!("{answer}");

    let answer = "42";
    println!("{answer}");

    let answer = 42;
    println!("{answer}");
    println!("{}", answer + 1);
}

What is the answer
42
42
43