aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion
diff options
context:
space:
mode:
authorEvgenii P <[email protected]>2019-08-02 19:16:20 +0100
committerEvgenii P <[email protected]>2019-08-02 19:16:20 +0100
commit30bc3b93bec06256350b66869f2885ee71c3bedd (patch)
tree87422290ad2ea1a85f1805a2e9431b2983f0974c /crates/ra_ide_api/src/completion
parentc417b98f02004a10819111903882482b39e50d17 (diff)
rustfmt
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 {