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/conv.rs | |
parent | 359b3376b32b38548c71e2b6e3a7393c4396ccf6 (diff) |
Hide comments in rust section of doc comments
Diffstat (limited to 'crates/ra_lsp_server/src/conv.rs')
-rw-r--r-- | crates/ra_lsp_server/src/conv.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_lsp_server/src/conv.rs b/crates/ra_lsp_server/src/conv.rs index 6b3be444f..59c5e1582 100644 --- a/crates/ra_lsp_server/src/conv.rs +++ b/crates/ra_lsp_server/src/conv.rs | |||
@@ -171,7 +171,7 @@ impl Conv for ra_ide_api::Documentation { | |||
171 | fn conv(self) -> Documentation { | 171 | fn conv(self) -> Documentation { |
172 | Documentation::MarkupContent(MarkupContent { | 172 | Documentation::MarkupContent(MarkupContent { |
173 | kind: MarkupKind::Markdown, | 173 | kind: MarkupKind::Markdown, |
174 | value: crate::markdown::mark_fenced_blocks_as_rust(self.as_str()), | 174 | value: crate::markdown::format_docs(self.as_str()), |
175 | }) | 175 | }) |
176 | } | 176 | } |
177 | } | 177 | } |