mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-10 14:02:57 +00:00
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:
commit
99ab3193da
@ -246,9 +246,9 @@ pub enum TokenNode {
|
||||
pub enum Delimiter {
|
||||
/// `( ... )`
|
||||
Parenthesis,
|
||||
/// `[ ... ]`
|
||||
Brace,
|
||||
/// `{ ... }`
|
||||
Brace,
|
||||
/// `[ ... ]`
|
||||
Bracket,
|
||||
/// An implicit delimiter, e.g. `$var`, where $var is `...`.
|
||||
None,
|
||||
|
Loading…
Reference in New Issue
Block a user