aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_ide_api/src/completion')
-rw-r--r--crates/ra_ide_api/src/completion/complete_dot.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/crates/ra_ide_api/src/completion/complete_dot.rs b/crates/ra_ide_api/src/completion/complete_dot.rs
index b6579be63..1dbbdb1bc 100644
--- a/crates/ra_ide_api/src/completion/complete_dot.rs
+++ b/crates/ra_ide_api/src/completion/complete_dot.rs
@@ -1,14 +1,14 @@
1use hir::{AdtDef, Ty, TypeCtor}; 1use hir::{AdtDef, Ty, TypeCtor};
2 2
3use crate::{completion::{ 3use crate::completion::completion_item::{Builder, CompletionKind};
4 completion_context::CompletionContext, 4use crate::{
5 completion_item::Completions, 5 completion::{completion_context::CompletionContext, completion_item::Completions},
6}, CompletionItem}; 6 CompletionItem,
7};
7use ra_syntax::ast::AstNode; 8use ra_syntax::ast::AstNode;
9use ra_syntax::TextRange;
8use ra_text_edit::TextEditBuilder; 10use ra_text_edit::TextEditBuilder;
9use rustc_hash::FxHashSet; 11use rustc_hash::FxHashSet;
10use crate::completion::completion_item::{Builder, CompletionKind};
11use ra_syntax::TextRange;
12 12
13/// Applies postfix edition but with CompletionKind::Reference 13/// Applies postfix edition but with CompletionKind::Reference
14fn postfix_reference(ctx: &CompletionContext, label: &str, detail: &str, snippet: &str) -> Builder { 14fn postfix_reference(ctx: &CompletionContext, label: &str, detail: &str, snippet: &str) -> Builder {