We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4be034e commit b70f929Copy full SHA for b70f929
src/doc/book/src/lifetimes.md
@@ -349,8 +349,8 @@ to it.
349
350
## Lifetime Elision
351
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.
+Rust supports powerful local type inference in the bodies of functions, but it
+deliberately does not perform any reasoning about types for item signatures.
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 with inferring
356
lifetime parameters using three easily memorizable and unambiguous rules. This means lifetime elision
0 commit comments