diff options
author | Igor Aleksanov <[email protected]> | 2020-10-24 08:47:23 +0100 |
---|---|---|
committer | Igor Aleksanov <[email protected]> | 2020-10-24 08:47:23 +0100 |
commit | 8d3d509af77756758cea14cc4939d099b4f95993 (patch) | |
tree | a9aa8cccf437facc9e7a300ce688cb727aa2a783 /crates/completion/src | |
parent | 4105378dc7479a3dbd39a4afb3eba67d083bd7f8 (diff) |
Remove dependency on 'assists' from 'completion' crate
Diffstat (limited to 'crates/completion/src')
-rw-r--r-- | crates/completion/src/complete_postfix.rs | 2 | ||||
-rw-r--r-- | crates/completion/src/complete_trait_impl.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/completion/src/complete_postfix.rs b/crates/completion/src/complete_postfix.rs index 700573cf2..2622f12ab 100644 --- a/crates/completion/src/complete_postfix.rs +++ b/crates/completion/src/complete_postfix.rs | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | mod format_like; | 3 | mod format_like; |
4 | 4 | ||
5 | use assists::utils::TryEnum; | 5 | use ide_db::ty_filter::TryEnum; |
6 | use syntax::{ | 6 | use syntax::{ |
7 | ast::{self, AstNode, AstToken}, | 7 | ast::{self, AstNode, AstToken}, |
8 | TextRange, TextSize, | 8 | TextRange, TextSize, |
diff --git a/crates/completion/src/complete_trait_impl.rs b/crates/completion/src/complete_trait_impl.rs index c06af99e2..a14be9c73 100644 --- a/crates/completion/src/complete_trait_impl.rs +++ b/crates/completion/src/complete_trait_impl.rs | |||
@@ -31,8 +31,8 @@ | |||
31 | //! } | 31 | //! } |
32 | //! ``` | 32 | //! ``` |
33 | 33 | ||
34 | use assists::utils::get_missing_assoc_items; | ||
35 | use hir::{self, HasAttrs, HasSource}; | 34 | use hir::{self, HasAttrs, HasSource}; |
35 | use ide_db::traits::get_missing_assoc_items; | ||
36 | use syntax::{ | 36 | use syntax::{ |
37 | ast::{self, edit, Impl}, | 37 | ast::{self, edit, Impl}, |
38 | display::function_declaration, | 38 | display::function_declaration, |