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 --- crates/ra_syntax/src/ast/generated/nodes.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crates/ra_syntax/src/ast') diff --git a/crates/ra_syntax/src/ast/generated/nodes.rs b/crates/ra_syntax/src/ast/generated/nodes.rs index dbb009b68..4bcdbd495 100644 --- a/crates/ra_syntax/src/ast/generated/nodes.rs +++ b/crates/ra_syntax/src/ast/generated/nodes.rs @@ -1872,7 +1872,8 @@ impl Attr { pub fn input(&self) -> Option { support::child(&self.syntax) } pub fn r_brack_token(&self) -> Option { support::token(&self.syntax, 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