From 4db7e56b016a73ae5788328985db1b82b4c3c807 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Wed, 27 May 2015 15:02:42 -0400 Subject: [PATCH] Small wording fix in TRPL: lifetimes Fixes #25438 --- src/doc/trpl/lifetimes.md | 4 ++-- 1 file 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