From 258a3461b428efa0b8cc8fcd40c7844a8ce22406 Mon Sep 17 00:00:00 2001 From: veetaha Date: Sun, 10 May 2020 19:09:36 +0300 Subject: Add proper docs for TokenTree as per edwin0cheng --- xtask/src/ast_src.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xtask/src') 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 { /// [Reference](https://doc.rust-lang.org/reference/attributes.html) struct Attr { T![#], T![!], T!['['], Path, T![=], input: AttrInput, T![']'] } - /// // TODO: clarify on this AST type @edwin0cheng + /// Stores a list of lexer tokens and other `TokenTree`s. + /// It appears in attributes, macro_rules and macro call (foo!) /// /// ``` /// macro_call! ❰ { my syntax here } ❱; -- cgit v1.2.3