aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src/main_loop
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-07-31 13:09:22 +0100
committerbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-07-31 13:09:22 +0100
commit1af7738c28d4bb15254612574784a762b2c1e2e9 (patch)
tree974244f919ebde8816be1bc7e8c6c226e4e449cf /crates/ra_lsp_server/src/main_loop
parent457fdf90c8110f74fb9e917fac825a60915c22a8 (diff)
parentfacc7a35a5ce5cc8be0d03bedd4e00959a03f851 (diff)
Merge #1627
1627: Hide ignored lines in rustdoc r=kjeremy a=rizakrko This fixes #1620. Co-authored-by: Roman Stoliar <[email protected]>
Diffstat (limited to 'crates/ra_lsp_server/src/main_loop')
-rw-r--r--crates/ra_lsp_server/src/main_loop/handlers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_lsp_server/src/main_loop/handlers.rs b/crates/ra_lsp_server/src/main_loop/handlers.rs
index 9006aa316..ee48d0cb8 100644
--- a/crates/ra_lsp_server/src/main_loop/handlers.rs
+++ b/crates/ra_lsp_server/src/main_loop/handlers.rs
@@ -485,7 +485,7 @@ pub fn handle_hover(
485 let res = Hover { 485 let res = Hover {
486 contents: HoverContents::Markup(MarkupContent { 486 contents: HoverContents::Markup(MarkupContent {
487 kind: MarkupKind::Markdown, 487 kind: MarkupKind::Markdown,
488 value: info.info.to_markup(), 488 value: crate::markdown::format_docs(&info.info.to_markup()),
489 }), 489 }),
490 range: Some(range), 490 range: Some(range),
491 }; 491 };