-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update lifetimes to include anonymous lifetime syntax #1273
Comments
None of these features seem actually stable yet; de-milestoning. |
This is supposedly stabilized. |
I think this section needs more motivation or else it doesn't belong in the book and should be documented somewhere else. It also appears, according to the tracking issue, that there is more to be done, which I think will affect best practices and how this is used in the wild. Basically, I don't think this feature is ready for the book yet. Reopens #1273
@steveklabnik I'm removing the Anonymous Lifetime section for now (and not sending it to nostarch), and thus reopening this issue, and here's the main reason why:
And a secondary reason is that the tracking issue for this feature has unchecked checkboxes and isn't closed, which says to me that there's more work to be done here, the most interesting of which is "Apply to rustc, experimenting with naming conventions (e.g., working through the affect on rustc)." This feature sounds like an emerging convention that isn't ready to be codified in the book yet. If you want to put this back in, I think we should iterate on this a bit, but I'm not going to hold up the batch of updates to the print book we're working on right now, I think we can let this go until the next batch. |
I don’t disagree it can use some work, but the intent in my understanding is to lint against not including the anonymous lifetime there.
… On Jan 3, 2019, at 6:01 PM, Carol (Nichols || Goulding) ***@***.***> wrote:
Reopened #1273.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
(So, to be 100% clear, I’m fine with reverting for now)
… On Jan 3, 2019, at 8:41 PM, Steve Klabnik ***@***.***> wrote:
I don’t disagree it can use some work, but the intent in my understanding is to lint against not including the anonymous lifetime there.
> On Jan 3, 2019, at 6:01 PM, Carol (Nichols || Goulding) ***@***.***> wrote:
>
> Reopened #1273.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub, or mute the thread.
|
Yeah 1.31 doesn't lint for that right now, which makes me feel better about not including it at the moment. |
This issue tracks inclusion of the new
'_
syntax into the Book. This will happen in the 2018 edition.Tracking issue: rust-lang/rust#48469
The text was updated successfully, but these errors were encountered: