1
Fork 0

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:
Steffen 2017-08-21 17:17:27 +02:00
parent 757b7ac2ab
commit d46660edc9

View file

@ -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,