Closed karim-en closed 1 year ago
The double underscore is used here to avoid a collision with local variables. But here the double underscore is missed, so it is possible to write code like that:
#[pause] fn increase_1(&mut self) { check_paused = false; println!("check_paused: {}", check_paused); self.counter += 1; }
The double underscore is used here to avoid a collision with local variables. But here the double underscore is missed, so it is possible to write code like that: