-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Add docs for keywords #51451
Comments
Quickly dumping a list of the keywords in the compiler, based on this list. Pretty sure we don't need or want to make a page for all of them, but at least we can start from something. They're broken into sections with their explanatory comment. "Special reserved identifiers used internally for elided lifetimes,
"Keywords used in the language."
"Keywords reserved for future use."
"Edition-specific keywords reserved for future use."
"Special lifetime names"
"Weak keywords, have special meaning only in specific contexts."
|
I'll write the docs for one keyword so then we can open it for newcomers. |
Keyword doc Part of #51451. r? @QuietMisdreavus
@iirelu Which of these were you planning on doing? |
I don't have the free time to write docs any more, so I'm hoping someone else continues where I left off. |
Alright, thanks. I may do some then. |
I am now working on this. |
Sorry for the lack of an update. I don’t have time for this at the moment. If I have a chance, I’ll open a PR with what I have although honestly it's mostly additions to the existing ones rather than anything new. |
Just as an update, some keywords have been fixed:
|
Closing as a duplicate of #34601, it's older. |
Since the
#[doc(keyword = "...")]
feature has been merged, we can now add documentation for keywords.cc @rust-lang/docs
The text was updated successfully, but these errors were encountered: