Skip to content

Expand lifetimes section #2

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

Open
vext01 opened this issue Mar 15, 2017 · 4 comments
Open

Expand lifetimes section #2

vext01 opened this issue Mar 15, 2017 · 4 comments

Comments

@vext01
Copy link

vext01 commented Mar 15, 2017

Hi,

I'd like to expand the lifetimes section of the rustonomicon with the example (and Lukas's answer) to the question in this stack overflow post.

If you'd welcome this change I will do the legwork and raise the PR, but I want to check that such a change is welcomed before investing the time.

(I'm a Rust beginner, and a first time contributor to rust docs).

Thanks

@steveklabnik
Copy link
Member

Hi @vext01 !

Yes, I'd love some PRs for the rustinomicon, including this stuff. Just send one in, that'd be great.

I'm going to give this a close since the question is answered 😄

@vext01
Copy link
Author

vext01 commented Mar 15, 2017

Thanks Steve.

I was going to suggest that my PR could be marked to fix this bug, but as you wish :)

@vext01
Copy link
Author

vext01 commented Mar 15, 2017

@steveklabnik Do you guys have a formal name for the process of deciding the shortest scope to satisfy references to referents from different scopes (as described in the SO post)? I'm wondering what I should call the new section...

Also, how does one build the nomicon? Is it an mdbook project?

@steveklabnik
Copy link
Member

I was going to suggest that my PR could be marked to fix this bug, but as you wish :)

Let's do that!

Do you guys have a formal name for the process of deciding the shortest scope to satisfy references to referents from different scopes (as described in the SO post)?

I am not 100% sure, /cc @nikomatsakis

Also, how does one build the nomicon? Is it an mdbook project?

yes. I really need to add a README....

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

2 participants