Rollup merge of #28283 - rutsky:patch-3, r=steveklabnik
r? @steveklabnik
This commit is contained in:
commit
4fc09d3a15
@ -62,7 +62,7 @@ fn foo(mut x: i32) {
|
||||
# Interior vs. Exterior Mutability
|
||||
|
||||
However, when we say something is ‘immutable’ in Rust, that doesn’t mean that
|
||||
it’s not able to be changed: We mean something has ‘exterior mutability’. Consider,
|
||||
it’s not able to be changed: we mean something has ‘exterior mutability’. Consider,
|
||||
for example, [`Arc<T>`][arc]:
|
||||
|
||||
```rust
|
||||
|
Loading…
Reference in New Issue
Block a user