]> git.lizzy.rs Git - rust.git/commitdiff
Fix lifetimes trpl typo
authorMohammed Attia <skeuomorf@gmail.com>
Tue, 19 May 2015 12:38:54 +0000 (14:38 +0200)
committerMohammed Attia <skeuomorf@gmail.com>
Tue, 19 May 2015 12:38:54 +0000 (14:38 +0200)
src/doc/trpl/lifetimes.md

index 342de413f0b9aab34a72de6036002bf3d8e677f1..0039f90b82c35c3d37de17700c2d838c94dfe5e0 100644 (file)
@@ -219,7 +219,7 @@ to it.
 ## Lifetime Elision
 
 Rust supports powerful local type inference in function bodies, but it’s
 ## 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
 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