mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
make Docs handing more ideomatic
This commit is contained in:
parent
5dc2789895
commit
33026c654e
4 changed files with 13 additions and 23 deletions
|
@ -171,7 +171,7 @@ impl Conv for ra_ide_api::Documentation {
|
|||
fn conv(self) -> Documentation {
|
||||
Documentation::MarkupContent(MarkupContent {
|
||||
kind: MarkupKind::Markdown,
|
||||
value: crate::markdown::sanitize_markdown(self).into(),
|
||||
value: crate::markdown::mark_fenced_blocks_as_rust(self.as_str()).into(),
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue