From 8ccd26adf396b49c7ba9e3abe0a92869b1a4c728 Mon Sep 17 00:00:00 2001 From: "Jeremy A. Kolb" Date: Mon, 5 Nov 2018 16:37:27 -0500 Subject: Show documentation for hover requests --- crates/ra_analysis/src/lib.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'crates/ra_analysis/src/lib.rs') diff --git a/crates/ra_analysis/src/lib.rs b/crates/ra_analysis/src/lib.rs index 0ea9ebee7..db4e1ba86 100644 --- a/crates/ra_analysis/src/lib.rs +++ b/crates/ra_analysis/src/lib.rs @@ -258,6 +258,13 @@ impl Analysis { pub fn find_all_refs(&self, position: FilePosition) -> Cancelable> { Ok(self.imp.find_all_refs(position)) } + pub fn doc_comment_for( + &self, + file_id: FileId, + symbol: FileSymbol + ) -> Cancelable> { + self.imp.doc_comment_for(file_id, symbol) + } pub fn parent_module(&self, position: FilePosition) -> Cancelable> { self.imp.parent_module(position) } -- cgit v1.2.3