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

Document pub(restricted) #539

Closed
cramertj opened this issue Mar 15, 2017 · 6 comments
Closed

Document pub(restricted) #539

cramertj opened this issue Mar 15, 2017 · 6 comments

Comments

@cramertj
Copy link
Member

cramertj commented Mar 15, 2017

RFC
Tracking issue

@steveklabnik
Copy link
Member

@carols10cents we should discuss how we want to address this...

@steveklabnik
Copy link
Member

@cramertj

so, @carols10cents and I talked about this, and she remembered something we had talked about, but had not yet done: an appendix called "newest features". The idea is that this is where you could send PRs with the basics, and then we can asynchronously work them into the main text later.

How does that sound? I'll send in a PR setting up the section, you'd fill it out.

@cramertj
Copy link
Member Author

Sure! Sounds fine.

@carols10cents
Copy link
Member

Related: #478

@carols10cents
Copy link
Member

carols10cents commented Mar 22, 2017

Also add this usage of pub to the keywords appendix.

@carols10cents
Copy link
Member

Looking at this again, it appears that pub(stuff) was documented in the reference in rust-lang/reference#12 rather than in the newest features appendix. I also think the current short definition of the pub keyword is still accurate and sufficient:

  • pub - denotes public visibility in struct fields, impl blocks, and modules

so I'm going to close this. Thanks!

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

No branches or pull requests

3 participants