diff options
Diffstat (limited to 'crates/ra_assists/src/assists/auto_import.rs')
-rw-r--r-- | crates/ra_assists/src/assists/auto_import.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_assists/src/assists/auto_import.rs b/crates/ra_assists/src/assists/auto_import.rs index 2068256b0..48ab336b1 100644 --- a/crates/ra_assists/src/assists/auto_import.rs +++ b/crates/ra_assists/src/assists/auto_import.rs | |||
@@ -1,4 +1,4 @@ | |||
1 | use hir::{db::HirDatabase, ModPath}; | 1 | use hir::ModPath; |
2 | use ra_syntax::{ | 2 | use ra_syntax::{ |
3 | ast::{self, AstNode}, | 3 | ast::{self, AstNode}, |
4 | SyntaxNode, | 4 | SyntaxNode, |
@@ -27,7 +27,7 @@ use crate::{ | |||
27 | // } | 27 | // } |
28 | // ``` | 28 | // ``` |
29 | pub(crate) fn auto_import<F: ImportsLocator>( | 29 | pub(crate) fn auto_import<F: ImportsLocator>( |
30 | ctx: AssistCtx<impl HirDatabase>, | 30 | ctx: AssistCtx, |
31 | imports_locator: &mut F, | 31 | imports_locator: &mut F, |
32 | ) -> Option<Assist> { | 32 | ) -> Option<Assist> { |
33 | let path_to_import: ast::Path = ctx.find_node_at_offset()?; | 33 | let path_to_import: ast::Path = ctx.find_node_at_offset()?; |