diff options
| author | Matt Brubeck <mbrubeck@limpet.net> | 2014-03-21 14:36:06 -0700 |
|---|---|---|
| committer | Matt Brubeck <mbrubeck@limpet.net> | 2014-03-21 14:36:06 -0700 |
| commit | 8da5ed2026acbe655e7fac53c95623bf37e45a97 (patch) | |
| tree | 21080916ef0c6c7acba7786b75ac3687271a93ba /src/doc | |
| parent | 7b957a879bd5065005327b0d9912695e8750cefa (diff) | |
| download | rust-8da5ed2026acbe655e7fac53c95623bf37e45a97.tar.gz rust-8da5ed2026acbe655e7fac53c95623bf37e45a97.zip | |
Copy-edit a sentence about borrowing references
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/tutorial.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/tutorial.md b/src/doc/tutorial.md index 3c0439b7cd1..5d180cdfab5 100644 --- a/src/doc/tutorial.md +++ b/src/doc/tutorial.md @@ -1395,7 +1395,7 @@ let mut y = ~5; // mutable In contrast with owned boxes, where the holder of an owned box is the owner of the pointed-to memory, references never imply ownership - they are "borrowed". -A reference can be borrowed to +You can borrow a reference to any object, and the compiler verifies that it cannot outlive the lifetime of the object. |
