From 30bc3b93bec06256350b66869f2885ee71c3bedd Mon Sep 17 00:00:00 2001 From: Evgenii P Date: Sat, 3 Aug 2019 01:16:20 +0700 Subject: rustfmt --- crates/ra_ide_api/src/completion/complete_dot.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'crates/ra_ide_api/src') 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 @@ use hir::{AdtDef, Ty, TypeCtor}; -use crate::{completion::{ - completion_context::CompletionContext, - completion_item::Completions, -}, CompletionItem}; +use crate::completion::completion_item::{Builder, CompletionKind}; +use crate::{ + completion::{completion_context::CompletionContext, completion_item::Completions}, + CompletionItem, +}; use ra_syntax::ast::AstNode; +use ra_syntax::TextRange; use ra_text_edit::TextEditBuilder; use rustc_hash::FxHashSet; -use crate::completion::completion_item::{Builder, CompletionKind}; -use ra_syntax::TextRange; /// Applies postfix edition but with CompletionKind::Reference fn postfix_reference(ctx: &CompletionContext, label: &str, detail: &str, snippet: &str) -> Builder { -- cgit v1.2.3