aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/ast_editor.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_assists/src/ast_editor.rs')
-rw-r--r--crates/ra_assists/src/ast_editor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_assists/src/ast_editor.rs b/crates/ra_assists/src/ast_editor.rs
index a710edce8..fd94d6960 100644
--- a/crates/ra_assists/src/ast_editor.rs
+++ b/crates/ra_assists/src/ast_editor.rs
@@ -19,7 +19,7 @@ pub struct AstEditor<N: AstNode> {
19} 19}
20 20
21impl<N: AstNode> AstEditor<N> { 21impl<N: AstNode> AstEditor<N> {
22 pub fn new(node: N) -> AstEditor<N> 22 pub fn new(node: N) -> Self
23 where 23 where
24 N: Clone, 24 N: Clone,
25 { 25 {