Hide comments in rust section of doc comments

This commit is contained in:
Roman Stoliar 2019-07-30 03:46:38 +03:00
parent 359b3376b3
commit 1c11d7b1d8
3 changed files with 21 additions and 5 deletions

View file

@ -171,7 +171,7 @@ impl Conv for ra_ide_api::Documentation {
fn conv(self) -> Documentation {
Documentation::MarkupContent(MarkupContent {
kind: MarkupKind::Markdown,
value: crate::markdown::mark_fenced_blocks_as_rust(self.as_str()),
value: crate::markdown::format_docs(self.as_str()),
})
}
}