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

Give examples of each metavariable value in macro declarations #1617

Open
filmil opened this issue Sep 18, 2024 · 0 comments
Open

Give examples of each metavariable value in macro declarations #1617

filmil opened this issue Sep 18, 2024 · 0 comments

Comments

@filmil
Copy link

filmil commented Sep 18, 2024

https://doc.rust-lang.org/reference/macros-by-example.html#metavariables

I think the above section would be way clearer if each metavariable bullet item contained a short concrete example or two.

I know you can click through to the grammar definition, but sometimes I just need a hint, without scrutinizing the entire production.

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

1 participant