Rollup merge of #44016 - steffengy:master, r=alexcrichton

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.
This commit is contained in:
Corey Farwell 2017-08-23 08:44:26 -04:00 committed by GitHub
commit 99ab3193da

View File

@ -246,9 +246,9 @@ pub enum TokenNode {
pub enum Delimiter {
/// `( ... )`
Parenthesis,
/// `[ ... ]`
Brace,
/// `{ ... }`
Brace,
/// `[ ... ]`
Bracket,
/// An implicit delimiter, e.g. `$var`, where $var is `...`.
None,