Skip to content

Commit

Permalink
Small wording fix in TRPL: lifetimes
Browse files Browse the repository at this point in the history
Fixes #25438
  • Loading branch information
steveklabnik committed May 27, 2015
1 parent efcc1d1 commit 4db7e56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/doc/trpl/lifetimes.md
Expand Up @@ -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

Expand Down

0 comments on commit 4db7e56

Please sign in to comment.