diff options
author | Aleksey Kladov <[email protected]> | 2019-01-05 14:33:31 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-01-05 14:33:31 +0000 |
commit | 9f44d4c56d51fdae1ff073df261b8c897b27c824 (patch) | |
tree | f2b248616c5d31d5d4e48c6fe5969cbd7594b477 /crates/ra_analysis/src/lib.rs | |
parent | 3ad0037f907778d20ce6cfd9bf676a467b5734ad (diff) |
fold doc_comment into hover
Diffstat (limited to 'crates/ra_analysis/src/lib.rs')
-rw-r--r-- | crates/ra_analysis/src/lib.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/crates/ra_analysis/src/lib.rs b/crates/ra_analysis/src/lib.rs index 1904ff884..0e32a15f8 100644 --- a/crates/ra_analysis/src/lib.rs +++ b/crates/ra_analysis/src/lib.rs | |||
@@ -403,10 +403,6 @@ impl Analysis { | |||
403 | pub fn find_all_refs(&self, position: FilePosition) -> Cancelable<Vec<(FileId, TextRange)>> { | 403 | pub fn find_all_refs(&self, position: FilePosition) -> Cancelable<Vec<(FileId, TextRange)>> { |
404 | self.db.find_all_refs(position) | 404 | self.db.find_all_refs(position) |
405 | } | 405 | } |
406 | /// Returns documentation string for a given target. | ||
407 | pub fn doc_text_for(&self, nav: NavigationTarget) -> Cancelable<Option<String>> { | ||
408 | self.db.doc_text_for(nav) | ||
409 | } | ||
410 | /// Returns a short text descrbing element at position. | 406 | /// Returns a short text descrbing element at position. |
411 | pub fn hover(&self, position: FilePosition) -> Cancelable<Option<RangeInfo<String>>> { | 407 | pub fn hover(&self, position: FilePosition) -> Cancelable<Option<RangeInfo<String>>> { |
412 | hover::hover(&*self.db, position) | 408 | hover::hover(&*self.db, position) |