From 391d14802eaa8ef694ebbb70d785227156e4bf32 Mon Sep 17 00:00:00 2001 From: Andrew Straw Date: Mon, 27 Apr 2015 07:18:26 -0400 Subject: [PATCH] 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. --- src/doc/trpl/mutability.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- GitLab