From: Mohammed Attia Date: Tue, 19 May 2015 12:38:54 +0000 (+0200) Subject: Fix lifetimes trpl typo X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=aa570bce3e35f1fba5a5fe488e40c31ceff1207c;p=rust.git Fix lifetimes trpl typo --- diff --git a/src/doc/trpl/lifetimes.md b/src/doc/trpl/lifetimes.md index 342de413f0b..0039f90b82c 100644 --- a/src/doc/trpl/lifetimes.md +++ b/src/doc/trpl/lifetimes.md @@ -219,7 +219,7 @@ to it. ## Lifetime Elision Rust supports powerful local type inference in function bodies, but it’s -forbidden in item signatures to allow reasoning about the types just based in +forbidden in item signatures to allow reasoning about the types based on the item signature alone. However, for ergonomic reasons a very restricted secondary inference algorithm called “lifetime elision” applies in function signatures. It infers only based on the signature components themselves and not