mirror of
https://github.com/google/comprehensive-rust.git
synced 2024-12-15 22:37:28 +02:00
parent
24b132b67a
commit
7d10518b24
@ -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`
|
||||||
|
Loading…
Reference in New Issue
Block a user