Skip to content

Commit ce57c66

Browse files
authored
Fix grammar error in lifetimes.md
1 parent c57b826 commit ce57c66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/book/lifetimes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ to it.
352352
Rust supports powerful local type inference in the bodies of functions but not in their item signatures.
353353
It's forbidden to allow reasoning about types based on the item signature alone.
354354
However, for ergonomic reasons, a very restricted secondary inference algorithm called
355-
“lifetime elision” does apply when judging lifetimes. Lifetime elision is concerned solely to infer
355+
“lifetime elision” does apply when judging lifetimes. Lifetime elision is concerned solely with inferring
356356
lifetime parameters using three easily memorizable and unambiguous rules. This means lifetime elision
357357
acts as a shorthand for writing an item signature, while not hiding
358358
away the actual types involved as full local inference would if applied to it.

0 commit comments

Comments
 (0)