aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_ide_api/src/lib.rs')
-rw-r--r--crates/ra_ide_api/src/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/lib.rs b/crates/ra_ide_api/src/lib.rs
index 076a8396c..6546d0644 100644
--- a/crates/ra_ide_api/src/lib.rs
+++ b/crates/ra_ide_api/src/lib.rs
@@ -58,6 +58,7 @@ pub use crate::{
58 navigation_target::NavigationTarget, 58 navigation_target::NavigationTarget,
59 references::ReferenceSearchResult, 59 references::ReferenceSearchResult,
60 assists::{Assist, AssistId}, 60 assists::{Assist, AssistId},
61 hover::{HoverResult},
61}; 62};
62pub use ra_ide_api_light::{ 63pub use ra_ide_api_light::{
63 Fold, FoldKind, HighlightedRange, Severity, StructureNode, LocalEdit, 64 Fold, FoldKind, HighlightedRange, Severity, StructureNode, LocalEdit,
@@ -328,7 +329,7 @@ impl Analysis {
328 } 329 }
329 330
330 /// Returns a short text describing element at position. 331 /// Returns a short text describing element at position.
331 pub fn hover(&self, position: FilePosition) -> Cancelable<Option<RangeInfo<String>>> { 332 pub fn hover(&self, position: FilePosition) -> Cancelable<Option<RangeInfo<HoverResult>>> {
332 self.with_db(|db| hover::hover(db, position)) 333 self.with_db(|db| hover::hover(db, position))
333 } 334 }
334 335