Skip to content

Commit eb2e00a

Browse files
committed
Rollup merge of rust-lang#28281 - rutsky:patch-2, r=steveklabnik
r? @steveklabnik
2 parents 9ef923e + b5b9403 commit eb2e00a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: src/doc/trpl/mutability.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ philosophy, memory safety, and the mechanism by which Rust guarantees it, the
8585
> You may have one or the other of these two kinds of borrows, but not both at
8686
> the same time:
8787
>
88-
> * one or more references (`&T`) to a resource.
89-
> * exactly one mutable reference (`&mut T`)
88+
> * one or more references (`&T`) to a resource,
89+
> * exactly one mutable reference (`&mut T`).
9090
9191
[ownership]: ownership.html
9292
[borrowing]: references-and-borrowing.html#borrowing

Diff for: src/doc/trpl/references-and-borrowing.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ First, any borrow must last for a scope no greater than that of the owner.
159159
Second, you may have one or the other of these two kinds of borrows, but not
160160
both at the same time:
161161

162-
* one or more references (`&T`) to a resource.
163-
* exactly one mutable reference (`&mut T`)
162+
* one or more references (`&T`) to a resource,
163+
* exactly one mutable reference (`&mut T`).
164164

165165

166166
You may notice that this is very similar, though not exactly the same as,

0 commit comments

Comments
 (0)