Function understand_scope

Source
pub fn understand_scope()
Expand description

§理解词法作用域

基本数据类型: https://doc.rust-lang.org/std/index.html#primitives

fn main(){
    let mut v = vec![];
    v.push(1);
    {
        println!("{:?}", v[0]);
        v.push(2);
    }
}