-
Notifications
You must be signed in to change notification settings - Fork 537
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
Fix link/wording for parse_nt
#819
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Minor nit, but other than that r=me
src/overview.md
Outdated
@@ -42,7 +42,7 @@ we'll talk about that later. | |||
analysis. The crate entry points for the parser are the `Parser.parse_crate_mod()` and | |||
`Parser.parse_mod()` methods found in `librustc_parse::parser::item`. The external | |||
module parsing entry point is `librustc_expand::module::parse_external_mod`. And | |||
the macro parser entry point is `rustc_expand::mbe::macro_parser::parse_nt`. | |||
the macro parser entry point is [`Parser.parse_nonterminal()`][parse_nonterminal]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the macro parser entry point is [`Parser.parse_nonterminal()`][parse_nonterminal]. | |
the macro parser entry point is [`Parser::parse_nonterminal()`][parse_nonterminal]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I use .
because we have Parser.parse_crate_mod()
above. Should we replace them too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I didn't notice that. Yeah, would you mind changing the other ones to :: too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure! Addressed via bbb27ac.
Follow-up of rust-lang/rust#74826