diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-05-09 00:37:42 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-05-09 00:37:42 +0530 |
| commit | 8b8cb34747a76a55e1d29b7bf06b33cc7373bf9c (patch) | |
| tree | 882650ac0753acbda3fc1922af68d7990a7f7905 | |
| parent | cf76e637450a861e94ef583340b8f080379a159a (diff) | |
| parent | 391d14802eaa8ef694ebbb70d785227156e4bf32 (diff) | |
| download | rust-8b8cb34747a76a55e1d29b7bf06b33cc7373bf9c.tar.gz rust-8b8cb34747a76a55e1d29b7bf06b33cc7373bf9c.zip | |
Rollup merge of #24864 - astraw:patch-1, r=steveklabnik
If you have 0 references (`&T`) to a resource, presumably, you could have a mutable reference (`&mut T`). So this only start to make sense at having 1 reference to a resource.
| -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 816bfb17970..435407a8a96 100644 --- a/src/doc/trpl/mutability.md +++ b/src/doc/trpl/mutability.md @@ -85,7 +85,7 @@ safety, and the mechanism by which Rust guarantees it, the > You may have one or the other of these two kinds of borrows, but not both at > the same time: > -> * 0 to N references (`&T`) to a resource. +> * one or more references (`&T`) to a resource. > * exactly one mutable reference (`&mut T`) [ownership]: ownership.html |
