fn capture_local(&mut self, name: &str) {
        for mut local in self.locals.iter_mut().rev() {
            if local.0 == name {
                local.2 = true;
                break;
            }
        }
    }
/// find the local with the given name and capture it.
find the local with the given name and capture it.
find the local with the given name and capture it .
fn capture_local(&mut self, name: &str) {
        for mut local in self.locals.iter_mut().rev() {
            if local.0 == name {
                local.2 = true;
                break;
            }
        }
    }
fn capture_local ( & mut self , name : & str ) { for mut local in self . locals . iter_mut ( ) . rev ( ) { if local . 0 == name { local . 2 = true ; break ; } } }
find the local with the given name and capture it.
find the local with the given name and capture it .
&mut self
name
&str