Uh oh!
There was an error while loading. Please reload this page.
libproc_macro docs: fix brace and bracket mixup - #44016
Conversation
the documentation indicates that brace is `[` but maps to token::Brace
which (expectedly) is `{`. Just a little confusion in the docs.rust-highfive
commented
Aug 21, 2017
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @brson (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
steffengy
commented
Aug 22, 2017
r? @alexcrichton (since @brson left) |
alexcrichton
commented
Aug 22, 2017
@bors: r+ rollup Thanks! |
bors
commented
Aug 22, 2017
📌 Commit d46660e has been approved by |
libproc_macro docs: fix brace and bracket mixup
The documentation indicates that brace is `[`.
Brace is mapped token::Brace which (expectedly) is `{`.
So the documentation is simply confusing brace and bracket there.
Even though it's just a very small issue, it can lead to quite some confusion.
The documentation indicates that brace is
[.Brace is mapped token::Brace which (expectedly) is
{.So the documentation is simply confusing brace and bracket there.
Even though it's just a very small issue, it can lead to quite some confusion.