about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-05-28 15:29:15 +0000
committerbors <bors@rust-lang.org>2015-05-28 15:29:15 +0000
commit9c303944a7c6767cd5cb708d25ffa27851fa994c (patch)
tree690ef9a4b22a9f2a8d67aea51a2a0096ed3eb654
parenta5a5fcee386119b016c4ef8908cbd449dc65b730 (diff)
parent4db7e56b016a73ae5788328985db1b82b4c3c807 (diff)
downloadrust-9c303944a7c6767cd5cb708d25ffa27851fa994c.tar.gz
rust-9c303944a7c6767cd5cb708d25ffa27851fa994c.zip
Auto merge of #25835 - steveklabnik:gh25438, r=alexcrichton
Fixes #25438
-rw-r--r--src/doc/trpl/lifetimes.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/trpl/lifetimes.md b/src/doc/trpl/lifetimes.md
index 0039f90b82c..04ae4c7ccf3 100644
--- a/src/doc/trpl/lifetimes.md
+++ b/src/doc/trpl/lifetimes.md
@@ -134,8 +134,8 @@ x: &'a i32,
 # }
 ```
 
-uses it. So why do we need a lifetime here? We need to ensure that any reference
-to a `Foo` cannot outlive the reference to an `i32` it contains.
+uses it. So why do we need a lifetime here? We need to ensure that any
+reference to the contained `i32` does not outlive the containing `Foo`.
 
 ## Thinking in scopes