diff options
author | kjeremy <[email protected]> | 2019-09-23 19:31:30 +0100 |
---|---|---|
committer | kjeremy <[email protected]> | 2019-09-23 19:31:30 +0100 |
commit | 1808175f981433f474f14db31140344189770ba6 (patch) | |
tree | ac92bdfc9ab06150c754eb0e9fa341f7f90b3dd4 /crates/ra_assists/src/ast_editor.rs | |
parent | 5063274959e5f6d5cf3b5c840c17a630ad013a97 (diff) |
Drive by lints
Diffstat (limited to 'crates/ra_assists/src/ast_editor.rs')
-rw-r--r-- | crates/ra_assists/src/ast_editor.rs | 2 |
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 | ||
21 | impl<N: AstNode> AstEditor<N> { | 21 | impl<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 | { |