mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-26 14:43:24 +00:00
fix typo in the ownership guide
This commit is contained in:
parent
9f1ead8fad
commit
9fcf097648
@ -458,7 +458,7 @@ lifetime, and so if you elide a lifetime (like `&T` instead of `&'a T`), Rust
|
||||
will do three things to determine what those lifetimes should be.
|
||||
|
||||
When talking about lifetime elision, we use the term 'input lifetime' and
|
||||
'output lifetime'. An 'input liftime' is a lifetime associated with a parameter
|
||||
'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:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user