Glossary: Rust Beyond the Basics
interior mutability
Changing data through a value that isn't declared `mut`. `RefCell` allows it by checking the borrow rules while the program runs, and `Mutex` allows it through locking.
Glossary: Rust Beyond the Basics
Changing data through a value that isn't declared `mut`. `RefCell` allows it by checking the borrow rules while the program runs, and `Mutex` allows it through locking.