From 2ae87ffc9afe67945e2ad655c3577b589ff640ab Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 22 Dec 2018 01:02:43 +0300 Subject: cleanup --- crates/ra_analysis/src/completion/complete_fn_param.rs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'crates/ra_analysis/src/completion/complete_fn_param.rs') diff --git a/crates/ra_analysis/src/completion/complete_fn_param.rs b/crates/ra_analysis/src/completion/complete_fn_param.rs index 3ec507fdf..6a6213e67 100644 --- a/crates/ra_analysis/src/completion/complete_fn_param.rs +++ b/crates/ra_analysis/src/completion/complete_fn_param.rs @@ -1,15 +1,11 @@ use ra_syntax::{ - algo::{ - visit::{visitor_ctx, VisitorCtx} - }, + algo::visit::{visitor_ctx, VisitorCtx}, ast, AstNode, }; -use rustc_hash::{FxHashMap}; +use rustc_hash::FxHashMap; -use crate::{ - completion::{CompletionContext, Completions, CompletionKind, CompletionItem}, -}; +use crate::completion::{CompletionContext, Completions, CompletionKind, CompletionItem}; /// Complete repeated parametes, both name and type. For example, if all /// functions in a file have a `spam: &mut Spam` parameter, a completion with -- cgit v1.2.3