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.
This commit is contained in:
Manish Goregaokar 2015-05-09 00:37:42 +05:30
commit 8b8cb34747

View File

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