about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAndrew Straw <strawman@astraw.com>2015-04-27 07:18:26 -0400
committerAndrew Straw <strawman@astraw.com>2015-05-08 06:12:59 +0200
commit391d14802eaa8ef694ebbb70d785227156e4bf32 (patch)
tree3ea9b711158b48448ae8021cb988aa4269f82557 /src
parentb402c43f088882db8a03bfcbb5eb8429ef7def0e (diff)
downloadrust-391d14802eaa8ef694ebbb70d785227156e4bf32.tar.gz
rust-391d14802eaa8ef694ebbb70d785227156e4bf32.zip
fix logic when describing kinds of borrows
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.
Diffstat (limited to 'src')
-rw-r--r--src/doc/trpl/mutability.md2
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