File tree 1 file changed +1
-1
lines changed
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -352,7 +352,7 @@ to it.
352
352
Rust supports powerful local type inference in the bodies of functions but not in their item signatures.
353
353
It's forbidden to allow reasoning about types based on the item signature alone.
354
354
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
356
356
lifetime parameters using three easily memorizable and unambiguous rules. This means lifetime elision
357
357
acts as a shorthand for writing an item signature, while not hiding
358
358
away the actual types involved as full local inference would if applied to it.
You can’t perform that action at this time.
0 commit comments