diff options
| author | Thiago Pontes <email@thiago.me> | 2015-01-07 18:42:15 -0200 |
|---|---|---|
| committer | Thiago Pontes <email@thiago.me> | 2015-01-07 18:42:15 -0200 |
| commit | 9fcf097648664224fa286804617788b4a974ba36 (patch) | |
| tree | b929b3b75735fb2123f62d1e3ccbea9b6720b9bb | |
| parent | 9f1ead8fadc56bad30dc74f5cc50d78af4fbc972 (diff) | |
| download | rust-9fcf097648664224fa286804617788b4a974ba36.tar.gz rust-9fcf097648664224fa286804617788b4a974ba36.zip | |
fix typo in the ownership guide
| -rw-r--r-- | src/doc/guide-ownership.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/guide-ownership.md b/src/doc/guide-ownership.md index 414a874082e..939712da37a 100644 --- a/src/doc/guide-ownership.md +++ b/src/doc/guide-ownership.md @@ -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: |
