diff options
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_ide_api/src/completion/complete_dot.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/crates/ra_ide_api/src/completion/complete_dot.rs b/crates/ra_ide_api/src/completion/complete_dot.rs index 272a38f11..e8fd37bca 100644 --- a/crates/ra_ide_api/src/completion/complete_dot.rs +++ b/crates/ra_ide_api/src/completion/complete_dot.rs | |||
@@ -1,13 +1,10 @@ | |||
1 | use hir::{AdtDef, Ty, TypeCtor}; | 1 | use hir::{AdtDef, Ty, TypeCtor}; |
2 | 2 | ||
3 | use crate::completion::completion_item::{Builder, CompletionKind}; | 3 | use crate::completion::completion_item::CompletionKind; |
4 | use crate::{ | 4 | use crate::{ |
5 | completion::{completion_context::CompletionContext, completion_item::Completions}, | 5 | completion::{completion_context::CompletionContext, completion_item::Completions}, |
6 | CompletionItem, | 6 | CompletionItem, |
7 | }; | 7 | }; |
8 | use ra_syntax::ast::AstNode; | ||
9 | use ra_syntax::TextRange; | ||
10 | use ra_text_edit::TextEditBuilder; | ||
11 | use rustc_hash::FxHashSet; | 8 | use rustc_hash::FxHashSet; |
12 | 9 | ||
13 | /// Complete dot accesses, i.e. fields or methods (and .await syntax). | 10 | /// Complete dot accesses, i.e. fields or methods (and .await syntax). |