From 0d5cae2d45a709e86e0a3fca61daa868f1f698e1 Mon Sep 17 00:00:00 2001 From: Vladimir Rutsky Date: Mon, 7 Sep 2015 09:41:02 +0300 Subject: [PATCH 1/2] fix punctuation in list r? @steveklabnik --- src/doc/trpl/references-and-borrowing.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/doc/trpl/references-and-borrowing.md b/src/doc/trpl/references-and-borrowing.md index a7a77539f7958..ed6a8cfefa7ef 100644 --- a/src/doc/trpl/references-and-borrowing.md +++ b/src/doc/trpl/references-and-borrowing.md @@ -159,8 +159,8 @@ First, any borrow must last for a scope no greater than that of the owner. Second, you may have one or the other of these two kinds of borrows, but not both at the same time: -* one or more references (`&T`) to a resource. -* exactly one mutable reference (`&mut T`) +* one or more references (`&T`) to a resource, +* exactly one mutable reference (`&mut T`). You may notice that this is very similar, though not exactly the same as, From b5b94037c4e36a0b07598fdb2e5e6a9ebf84b8af Mon Sep 17 00:00:00 2001 From: Vladimir Rutsky Date: Mon, 7 Sep 2015 11:03:53 +0300 Subject: [PATCH 2/2] fix punctuation in list (again) --- src/doc/trpl/mutability.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/doc/trpl/mutability.md b/src/doc/trpl/mutability.md index ef569a09e2137..9a9e38f7d0a58 100644 --- a/src/doc/trpl/mutability.md +++ b/src/doc/trpl/mutability.md @@ -85,8 +85,8 @@ philosophy, memory 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: > -> * one or more references (`&T`) to a resource. -> * exactly one mutable reference (`&mut T`) +> * one or more references (`&T`) to a resource, +> * exactly one mutable reference (`&mut T`). [ownership]: ownership.html [borrowing]: references-and-borrowing.html#borrowing