aboutsummaryrefslogtreecommitdiff
path: root/xtask/src
diff options
context:
space:
mode:
authorveetaha <[email protected]>2020-05-10 17:09:36 +0100
committerveetaha <[email protected]>2020-05-10 17:09:36 +0100
commit258a3461b428efa0b8cc8fcd40c7844a8ce22406 (patch)
tree18a093a1453ae1848aa5abd092140a2acaa1784f /xtask/src
parent3554866d67809e027ad6faeda1604a36a27c6561 (diff)
Add proper docs for TokenTree as per edwin0cheng
Diffstat (limited to 'xtask/src')
-rw-r--r--xtask/src/ast_src.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs
index ed1bac091..47a5d1d91 100644
--- a/xtask/src/ast_src.rs
+++ b/xtask/src/ast_src.rs
@@ -1577,7 +1577,8 @@ pub(crate) const AST_SRC: AstSrc = AstSrc {
1577 /// [Reference](https://doc.rust-lang.org/reference/attributes.html) 1577 /// [Reference](https://doc.rust-lang.org/reference/attributes.html)
1578 struct Attr { T![#], T![!], T!['['], Path, T![=], input: AttrInput, T![']'] } 1578 struct Attr { T![#], T![!], T!['['], Path, T![=], input: AttrInput, T![']'] }
1579 1579
1580 /// // TODO: clarify on this AST type @edwin0cheng 1580 /// Stores a list of lexer tokens and other `TokenTree`s.
1581 /// It appears in attributes, macro_rules and macro call (foo!)
1581 /// 1582 ///
1582 /// ``` 1583 /// ```
1583 /// macro_call! ❰ { my syntax here } ❱; 1584 /// macro_call! ❰ { my syntax here } ❱;