Skip to content

Commit 4f1f764

Browse files
authored
fixed typo: term should be terms
two terms (input lifetime and output lifetime) so "term" needs to be plural.
1 parent 15a0299 commit 4f1f764

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/book/lifetimes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ lifetime parameters using three easily memorizable and unambiguous rules. This m
290290
acts as a shorthand for writing an item signature, while not hiding
291291
away the actual types involved as full local inference would if applied to it.
292292

293-
When talking about lifetime elision, we use the term *input lifetime* and
293+
When talking about lifetime elision, we use the terms *input lifetime* and
294294
*output lifetime*. An *input lifetime* is a lifetime associated with a parameter
295295
of a function, and an *output lifetime* is a lifetime associated with the return
296296
value of a function. For example, this function has an input lifetime:

0 commit comments

Comments
 (0)