From 51edfbaffe15b08090d2f9956939988074b3c224 Mon Sep 17 00:00:00 2001 From: veetaha Date: Tue, 12 May 2020 23:50:52 +0300 Subject: Convert TODO to a Note(matklad) --- crates/ra_syntax/src/ast/generated/nodes.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/ra_syntax/src/ast/generated') diff --git a/crates/ra_syntax/src/ast/generated/nodes.rs b/crates/ra_syntax/src/ast/generated/nodes.rs index 05b197772..a25646c6b 100644 --- a/crates/ra_syntax/src/ast/generated/nodes.rs +++ b/crates/ra_syntax/src/ast/generated/nodes.rs @@ -844,6 +844,7 @@ pub struct LambdaExpr { } impl ast::AttrsOwner for LambdaExpr {} impl LambdaExpr { + pub fn static_token(&self) -> Option { support::token(&self.syntax, T![static]) } pub fn async_token(&self) -> Option { support::token(&self.syntax, T![async]) } pub fn move_token(&self) -> Option { support::token(&self.syntax, T![move]) } pub fn param_list(&self) -> Option { support::child(&self.syntax) } -- cgit v1.2.3