From d74a77efb19c5f3c45a09bd8ccd5b50d453927d1 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 8 Jul 2020 19:58:50 +0200 Subject: Minimize API --- crates/ra_ide/src/hover.rs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'crates/ra_ide/src') diff --git a/crates/ra_ide/src/hover.rs b/crates/ra_ide/src/hover.rs index 96b564a96..98be22339 100644 --- a/crates/ra_ide/src/hover.rs +++ b/crates/ra_ide/src/hover.rs @@ -96,9 +96,6 @@ impl HoverResult { self.results.join("\n\n___\n") } - fn extend(&mut self, item: Option) { - self.results.extend(item); - } fn push_action(&mut self, action: HoverAction) { self.actions.push(action); } @@ -128,8 +125,9 @@ pub(crate) fn hover(db: &RootDatabase, position: FilePosition) -> Option Option