about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2016-11-20 15:00:04 +0100
committerGitHub <noreply@github.com>2016-11-20 15:00:04 +0100
commitfd0c7a9997ac83e108f2b10cd5d6432615ffa386 (patch)
treed699068a3678af3c24a15ef61e2e6af364a186ec
parente8673ffa75c302365a2646e93327416fe342f2ab (diff)
parentce57c66f5ca6120345bfc0828ebddd1b2f1d615e (diff)
downloadrust-fd0c7a9997ac83e108f2b10cd5d6432615ffa386.tar.gz
rust-fd0c7a9997ac83e108f2b10cd5d6432615ffa386.zip
Rollup merge of #37840 - brcooley:patch-1, r=steveklabnik
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.