diff options
Diffstat (limited to 'crates/ra_assists/src/utils.rs')
-rw-r--r-- | crates/ra_assists/src/utils.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/ra_assists/src/utils.rs b/crates/ra_assists/src/utils.rs index 92d3ed471..d544caee7 100644 --- a/crates/ra_assists/src/utils.rs +++ b/crates/ra_assists/src/utils.rs | |||
@@ -1,4 +1,5 @@ | |||
1 | //! Assorted functions shared by several assists. | 1 | //! Assorted functions shared by several assists. |
2 | pub(crate) mod insert_use; | ||
2 | 3 | ||
3 | use hir::Semantics; | 4 | use hir::Semantics; |
4 | use ra_ide_db::RootDatabase; | 5 | use ra_ide_db::RootDatabase; |
@@ -8,6 +9,8 @@ use ra_syntax::{ | |||
8 | }; | 9 | }; |
9 | use rustc_hash::FxHashSet; | 10 | use rustc_hash::FxHashSet; |
10 | 11 | ||
12 | pub use insert_use::insert_use_statement; | ||
13 | |||
11 | pub fn get_missing_impl_items( | 14 | pub fn get_missing_impl_items( |
12 | sema: &Semantics<RootDatabase>, | 15 | sema: &Semantics<RootDatabase>, |
13 | impl_block: &ast::ImplBlock, | 16 | impl_block: &ast::ImplBlock, |