From b6a7be19d9df53e39fa9bc1779cc19b7b708e495 Mon Sep 17 00:00:00 2001 From: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com> Date: Tue, 21 Apr 2020 14:36:56 +0200 Subject: Improve autocompletion by looking on the type and name Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com> --- crates/ra_ide/src/completion/completion_item.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'crates/ra_ide') diff --git a/crates/ra_ide/src/completion/completion_item.rs b/crates/ra_ide/src/completion/completion_item.rs index 8b96b81db..e17586aa5 100644 --- a/crates/ra_ide/src/completion/completion_item.rs +++ b/crates/ra_ide/src/completion/completion_item.rs @@ -2,9 +2,7 @@ use std::fmt; -use super::completion_context::CompletionContext; -use crate::call_info::call_info; -use hir::{Documentation, HirDisplay}; +use hir::Documentation; use ra_syntax::TextRange; use ra_text_edit::TextEdit; -- cgit v1.2.3