aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-04-11 15:15:20 +0100
committerAleksey Kladov <[email protected]>2019-04-11 15:15:20 +0100
commit20013de2abb95bc024f55163b1a5044cfb52a873 (patch)
tree2221a4f959ad4f672e0b421e35d1a0ec3c5d799d /crates/ra_assists/src
parentcf2ba2791d57123248141a3066071180f4255b1c (diff)
fix typo
Diffstat (limited to 'crates/ra_assists/src')
-rw-r--r--crates/ra_assists/src/add_missing_impl_members.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_assists/src/add_missing_impl_members.rs b/crates/ra_assists/src/add_missing_impl_members.rs
index 04b3f3c76..104a4d78a 100644
--- a/crates/ra_assists/src/add_missing_impl_members.rs
+++ b/crates/ra_assists/src/add_missing_impl_members.rs
@@ -45,9 +45,9 @@ fn add_missing_impl_members_inner(
45 let trait_def = { 45 let trait_def = {
46 let file_id = ctx.frange.file_id; 46 let file_id = ctx.frange.file_id;
47 let position = FilePosition { file_id, offset: impl_node.syntax().range().start() }; 47 let position = FilePosition { file_id, offset: impl_node.syntax().range().start() };
48 let analyser = hir::SourceAnalyzer::new(ctx.db, position.file_id, impl_node.syntax()); 48 let analyzer = hir::SourceAnalyzer::new(ctx.db, position.file_id, impl_node.syntax());
49 49
50 resolve_target_trait_def(ctx.db, &analyser, impl_node)? 50 resolve_target_trait_def(ctx.db, &analyzer, impl_node)?
51 }; 51 };
52 52
53 let missing_fns: Vec<_> = { 53 let missing_fns: Vec<_> = {