Auto merge of #25911 - olombard:borrowing-link, r=alexcrichton

r? @steveklabnik
This commit is contained in:
bors 2015-05-31 21:40:47 +00:00
commit 02e4c4b8c8

View File

@ -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, thats 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