mirror of
https://github.com/rust-lang/rust
synced 2024-09-15 22:50:55 +00:00
TRPL: Fix a broken link to 'borrowing'
This commit is contained in:
parent
ee1ba33c4c
commit
61207046de
|
@ -89,7 +89,7 @@ philosophy, memory safety, and the mechanism by which Rust guarantees it, the
|
|||
> * exactly one mutable reference (`&mut T`)
|
||||
|
||||
[ownership]: ownership.html
|
||||
[borrowing]: borrowing.html#The-Rules
|
||||
[borrowing]: references-and-borrowing.html#borrowing
|
||||
|
||||
So, that’s the real definition of ‘immutability’: is this safe to have two
|
||||
pointers to? In `Arc<T>`’s case, yes: the mutation is entirely contained inside
|
||||
|
|
Loading…
Reference in a new issue