From 9fcf097648664224fa286804617788b4a974ba36 Mon Sep 17 00:00:00 2001 From: Thiago Pontes Date: Wed, 7 Jan 2015 18:42:15 -0200 Subject: [PATCH] fix typo in the ownership guide --- src/doc/guide-ownership.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: