fn main() { // s is not valid here, since it's not yet declared { let s = "hello"; // s is valid from this point forward // do stuff with s println!("{s}"); } // s is no longer valid since the scope is over }