diff options
| author | bors <bors@rust-lang.org> | 2015-05-31 21:40:47 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-05-31 21:40:47 +0000 |
| commit | 02e4c4b8c8faac6af43af0cd7e7f0d4f08dee3cd (patch) | |
| tree | 5f4324611e44f6971ed1b3cba167b862852929c0 /src | |
| parent | 845cee4e20532d90454b2d2d1a55d0c2dfcfee09 (diff) | |
| parent | 61207046de3e64db13683f784230a1fd590c4573 (diff) | |
| download | rust-02e4c4b8c8faac6af43af0cd7e7f0d4f08dee3cd.tar.gz rust-02e4c4b8c8faac6af43af0cd7e7f0d4f08dee3cd.zip | |
Auto merge of #25911 - olombard:borrowing-link, r=alexcrichton
r? @steveklabnik
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/trpl/mutability.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/mutability.md b/src/doc/trpl/mutability.md index fe41def4d7c..e30825badcc 100644 --- a/src/doc/trpl/mutability.md +++ b/src/doc/trpl/mutability.md @@ -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 |
