diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-09-09 18:36:10 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-09-09 18:36:10 +0530 |
| commit | eb2e00a0fd9ecd60c4e2ca9e3136c9e74d3fbd89 (patch) | |
| tree | 4f20005e9259f33068cf947125f8565dab6199fd /src | |
| parent | 9ef923e380009a7075dfb57017952ce45f5fa327 (diff) | |
| parent | b5b94037c4e36a0b07598fdb2e5e6a9ebf84b8af (diff) | |
| download | rust-eb2e00a0fd9ecd60c4e2ca9e3136c9e74d3fbd89.tar.gz rust-eb2e00a0fd9ecd60c4e2ca9e3136c9e74d3fbd89.zip | |
Rollup merge of #28281 - rutsky:patch-2, r=steveklabnik
r? @steveklabnik
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/trpl/mutability.md | 4 | ||||
| -rw-r--r-- | src/doc/trpl/references-and-borrowing.md | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/doc/trpl/mutability.md b/src/doc/trpl/mutability.md index ef569a09e21..9a9e38f7d0a 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 diff --git a/src/doc/trpl/references-and-borrowing.md b/src/doc/trpl/references-and-borrowing.md index a7a77539f79..ed6a8cfefa7 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, |
