You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-07-12 17:20:14 +02:00
@ -8,7 +8,7 @@ Introduce the concept, with an example based on Mutex showing an `&self` method
|
|||||||
# Interior Mutability
|
# Interior Mutability
|
||||||
|
|
||||||
Rust provides a few safe means of modifying a value given only a shared
|
Rust provides a few safe means of modifying a value given only a shared
|
||||||
reference to that value. All of these replace copmile-time checks with runtime
|
reference to that value. All of these replace compile-time checks with runtime
|
||||||
checks.
|
checks.
|
||||||
|
|
||||||
## `Cell` and `RefCell`
|
## `Cell` and `RefCell`
|
||||||
|
Reference in New Issue
Block a user