mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
Hide comments in rust section of doc comments
This commit is contained in:
parent
359b3376b3
commit
1c11d7b1d8
3 changed files with 21 additions and 5 deletions
|
@ -485,7 +485,7 @@ pub fn handle_hover(
|
|||
let res = Hover {
|
||||
contents: HoverContents::Markup(MarkupContent {
|
||||
kind: MarkupKind::Markdown,
|
||||
value: info.info.to_markup(),
|
||||
value: crate::markdown::format_docs(&info.info.to_markup()),
|
||||
}),
|
||||
range: Some(range),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue