Skip to content

Commit 9fcf097

Browse files
author
Thiago Pontes
committed
fix typo in the ownership guide
1 parent 9f1ead8 commit 9fcf097

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/guide-ownership.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ lifetime, and so if you elide a lifetime (like `&T` instead of `&'a T`), Rust
458458
will do three things to determine what those lifetimes should be.
459459

460460
When talking about lifetime elision, we use the term 'input lifetime' and
461-
'output lifetime'. An 'input liftime' is a lifetime associated with a parameter
461+
'output lifetime'. An 'input lifetime' is a lifetime associated with a parameter
462462
of a function, and an 'output lifetime' is a lifetime associated with the return
463463
value of a function. For example, this function has an input lifetime:
464464

0 commit comments

Comments
 (0)