Expand further on <> syntax in TRPL.#27538
Conversation
We haven't discussed this syntax yet, so provide a basic explanation and link up to later chapters. Fixes rust-lang#26917
|
(rust_highfive has picked a reviewer for you, use r? to override) |
|
No turbo fish? 😿 |
There was a problem hiding this comment.
This might be a bit deceptive -- a function can have many more lifetimes that aren't declared thanks to elision.
There was a problem hiding this comment.
From a technical perspective I each function can have multiple lifetime parameters, but from the perspective of just explaining syntax I think it's fine to assume that "lifetime parameter" is the same as "explicitly declared lifetime parameter". Elision kinda fits into the same system later on, so I don't think that we're going to confuse anyone from this.
|
shrug monotonic improvement -- can always refine later if desired. On Wed, Aug 5, 2015 at 11:49 AM, Alex Crichton notifications@github.com
|
We haven't discussed this syntax yet, so provide a basic explanation and link up to later chapters. Fixes rust-lang#26917
We haven't discussed this syntax yet, so provide a basic explanation
and link up to later chapters.
Fixes #26917