{
// The scope limited to this braces
let a\_number = 1;
}
println!("{a\_number}");
This will produce error as the scope of the variable a_number
ends at the braces
Comments
{
// The scope limited to this braces
let a\_number = 1;
}
println!("{a\_number}");
This will produce error as the scope of the variable a_number
ends at the braces