about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrett Cooley <brett@cooleyweb.org>2016-11-17 12:23:57 -0700
committerGitHub <noreply@github.com>2016-11-17 12:23:57 -0700
commitce57c66f5ca6120345bfc0828ebddd1b2f1d615e (patch)
treec56c7c8fadd85c5e506d591f65a600195fcfd8c9
parentc57b8261496d548e0a3cd8468061ddc5a4dcafe2 (diff)
downloadrust-ce57c66f5ca6120345bfc0828ebddd1b2f1d615e.tar.gz
rust-ce57c66f5ca6120345bfc0828ebddd1b2f1d615e.zip
Fix grammar error in lifetimes.md
-rw-r--r--src/doc/book/lifetimes.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/book/lifetimes.md b/src/doc/book/lifetimes.md
index 397263c6973..140e27d1924 100644
--- a/src/doc/book/lifetimes.md
+++ b/src/doc/book/lifetimes.md
@@ -352,7 +352,7 @@ to it.
 Rust supports powerful local type inference in the bodies of functions but not in their item signatures. 
 It's forbidden to allow reasoning about types based on the item signature alone. 
 However, for ergonomic reasons, a very restricted secondary inference algorithm called 
-“lifetime elision” does apply when judging lifetimes. Lifetime elision is concerned solely to infer 
+“lifetime elision” does apply when judging lifetimes. Lifetime elision is concerned solely with inferring 
 lifetime parameters using three easily memorizable and unambiguous rules. This means lifetime elision 
 acts as a shorthand for writing an item signature, while not hiding
 away the actual types involved as full local inference would if applied to it.