-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Consolidate docs for built-in syntax extensions #22621
Comments
Neither of the macro chapters have sections for "common macros". Should we add one? Presumably there would be quite a few of them. |
There is rustdoc for the macros in std, plus some of the built-in syntax extensions. It's not that easy to find; there used to be a I'm not sure exactly what should be documented where. The built-in syntax extensions like |
I think |
I would like to take on the task of documenting all the common macros. I've started them and appreciate some input on how big the final list should be, and if every macro needs an example (or three). What about the most common one, prinln! ? Should that be in there too? https://github.com/mund/rust/commit/a62e5e6f5081e52969bfe8a970f2b5a89bea6250 |
It's not clear to me what doing this issue actually means. Moving some docs between some places? |
The original issue was to add several common macro definitions with examples in TRPL, which I agreed with. I'm not sure what's up with the edits. |
concat_idents!
is useless (#13294) so skip it.The text was updated successfully, but these errors were encountered: