libproc_macro docs: fix brace and bracket mixup
the documentation indicates that brace is `[` but maps to token::Brace which (expectedly) is `{`. Just a little confusion in the docs.
This commit is contained in:
parent
757b7ac2ab
commit
d46660edc9
1 changed files with 2 additions and 2 deletions
|
@ -246,9 +246,9 @@ pub enum TokenNode {
|
||||||
pub enum Delimiter {
|
pub enum Delimiter {
|
||||||
/// `( ... )`
|
/// `( ... )`
|
||||||
Parenthesis,
|
Parenthesis,
|
||||||
/// `[ ... ]`
|
|
||||||
Brace,
|
|
||||||
/// `{ ... }`
|
/// `{ ... }`
|
||||||
|
Brace,
|
||||||
|
/// `[ ... ]`
|
||||||
Bracket,
|
Bracket,
|
||||||
/// An implicit delimiter, e.g. `$var`, where $var is `...`.
|
/// An implicit delimiter, e.g. `$var`, where $var is `...`.
|
||||||
None,
|
None,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue