diff options
author | Aleksey Kladov <[email protected]> | 2018-10-31 07:56:31 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-10-31 07:56:31 +0000 |
commit | b67295134bf5c518b39bc88abbe1bc5b9d7d3baf (patch) | |
tree | a507432668deef7b216cb7c6360620619e904060 /crates/ra_syntax/src/ast/generated.rs.tera | |
parent | 3068af79ffd23656ff2d46ac92d9192ce6c813fb (diff) |
Move FnDescriptors to analyzer
Diffstat (limited to 'crates/ra_syntax/src/ast/generated.rs.tera')
-rw-r--r-- | crates/ra_syntax/src/ast/generated.rs.tera | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/ast/generated.rs.tera b/crates/ra_syntax/src/ast/generated.rs.tera index c61c3e80b..d30038cba 100644 --- a/crates/ra_syntax/src/ast/generated.rs.tera +++ b/crates/ra_syntax/src/ast/generated.rs.tera | |||
@@ -17,7 +17,7 @@ use crate::{ | |||
17 | pub struct {{ node }}Node(SyntaxNode); | 17 | pub struct {{ node }}Node(SyntaxNode); |
18 | 18 | ||
19 | impl {{ node }}Node { | 19 | impl {{ node }}Node { |
20 | pub fn new(&self, ast: {{ node }}) -> {{ node }}Node { | 20 | pub fn new(ast: {{ node }}) -> {{ node }}Node { |
21 | let syntax = ast.syntax().owned(); | 21 | let syntax = ast.syntax().owned(); |
22 | {{ node }}Node(syntax) | 22 | {{ node }}Node(syntax) |
23 | } | 23 | } |