File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -349,8 +349,8 @@ to it.
349349
350350## Lifetime Elision
351351
352- Rust supports powerful local type inference in the bodies of functions but not in their item signatures.
353- It's forbidden to allow reasoning about types based on the item signature alone .
352+ Rust supports powerful local type inference in the bodies of functions, but it
353+ deliberately does not perform any reasoning about types for item signatures .
354354However, for ergonomic reasons, a very restricted secondary inference algorithm called
355355“lifetime elision” does apply when judging lifetimes. Lifetime elision is concerned solely with inferring
356356lifetime parameters using three easily memorizable and unambiguous rules. This means lifetime elision
You can’t perform that action at this time.
0 commit comments