diff options
author | Roman Stoliar <[email protected]> | 2019-07-30 01:46:38 +0100 |
---|---|---|
committer | Roman Stoliar <[email protected]> | 2019-07-30 01:46:38 +0100 |
commit | 1c11d7b1d87501687cda5efae9188e883ea3b92c (patch) | |
tree | e1694e499e827524f890731a9dbc21bfaaa0fc2b /crates/ra_lsp_server/src/main_loop | |
parent | 359b3376b32b38548c71e2b6e3a7393c4396ccf6 (diff) |
Hide comments in rust section of doc comments
Diffstat (limited to 'crates/ra_lsp_server/src/main_loop')
-rw-r--r-- | crates/ra_lsp_server/src/main_loop/handlers.rs | 2 |
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 | }; |