diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-06-08 12:59:12 +0100 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-06-08 12:59:12 +0100 |
commit | bb55111c209a9d3a6249cab35308a506b7f22d53 (patch) | |
tree | 380c082f86c927b72c0bbda0ac2d9383c15df949 /crates/ra_lsp_server/src/conv.rs | |
parent | 2a6b363b44e335af5f26ac503461ef15cca82ace (diff) | |
parent | ac64967872507bb921ad69fc50ac3475c1fc26f8 (diff) |
Merge #1385
1385: Refactor and queryfy documentation handling in HIR r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
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 88d29b256..257492589 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::sanitize_markdown(self).into(), | 174 | value: crate::markdown::mark_fenced_blocks_as_rust(self.as_str()).into(), |
175 | }) | 175 | }) |
176 | } | 176 | } |
177 | } | 177 | } |