From 4f1f764548d8ca1b851c18b9ea4e63b2f72aebaa Mon Sep 17 00:00:00 2001 From: Jonathan Price Date: Tue, 28 Jun 2016 10:49:37 -0500 Subject: [PATCH] fixed typo: term should be terms two terms (input lifetime and output lifetime) so "term" needs to be plural. --- src/doc/book/lifetimes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/book/lifetimes.md b/src/doc/book/lifetimes.md index cb0757318984..3d18e7cd0ebf 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: