diff options
| author | Jonathan Price <jonmarkprice@users.noreply.github.com> | 2016-06-28 10:49:37 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-06-28 10:49:37 -0500 |
| commit | 4f1f764548d8ca1b851c18b9ea4e63b2f72aebaa (patch) | |
| tree | f76d3b8ecebe7085d7ccc892d0528cf8496c8843 /src/doc | |
| parent | 15a0299299e438b1e8624989231c44cc3738896a (diff) | |
| download | rust-4f1f764548d8ca1b851c18b9ea4e63b2f72aebaa.tar.gz rust-4f1f764548d8ca1b851c18b9ea4e63b2f72aebaa.zip | |
fixed typo: term should be terms
two terms (input lifetime and output lifetime) so "term" needs to be plural.
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/book/lifetimes.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/book/lifetimes.md b/src/doc/book/lifetimes.md index cb075731898..3d18e7cd0eb 100644 --- a/src/doc/book/lifetimes.md +++ b/src/doc/book/lifetimes.md @@ -290,7 +290,7 @@ lifetime parameters using three easily memorizable and unambiguous rules. This m acts as a shorthand for writing an item signature, while not hiding away the actual types involved as full local inference would if applied to it. -When talking about lifetime elision, we use the term *input lifetime* and +When talking about lifetime elision, we use the terms *input lifetime* and *output lifetime*. An *input lifetime* is a lifetime associated with a parameter of a function, and an *output lifetime* is a lifetime associated with the return value of a function. For example, this function has an input lifetime: |
