Skip to content
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

docs: Lifetimes & apostrophe symbol. #9021

Closed
toqueteos opened this issue Sep 6, 2013 · 6 comments
Closed

docs: Lifetimes & apostrophe symbol. #9021

toqueteos opened this issue Sep 6, 2013 · 6 comments

Comments

@toqueteos
Copy link
Contributor

Currently lifetimes has little docs on manual, I found 14 matches for "lifetime" on http://static.rust-lang.org/master/doc/rust.html

The borrowed pointers tutorial mentions named lifetimes but doesn't mention the apostrophe symbol, newcomers might get confused about that.

Same goes for manual, there's no mention to apostrophe, just some examples using 'static. It also lacks grammar production.

@huonw
Copy link
Member

huonw commented Sep 6, 2013

What do you mean "doesn't mention the apostrophe"? That it doesn't mention that ' introduces a lifetime?

@toqueteos
Copy link
Contributor Author

@huonw Yep, that.
Also, 6.1.7 Static items mentions both static and 'static but doesn't clarify much the difference, unless I misread something.

@huonw
Copy link
Member

huonw commented Jan 3, 2014

Triage: there is still very little discussion of what a lifetime is.

@pnkfelix
Copy link
Member

part of #11755

@steveklabnik
Copy link
Member

We have a full lifetimes guide now.

@steveklabnik
Copy link
Member

This is a duplicate of #8007

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants