mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
feat: Hover for literals showing additional value information
This commit is contained in:
parent
6584e63506
commit
384488c157
6 changed files with 377 additions and 25 deletions
|
@ -35,4 +35,7 @@ impl Markup {
|
|||
pub fn fenced_block(contents: impl fmt::Display) -> Markup {
|
||||
format!("```rust\n{contents}\n```").into()
|
||||
}
|
||||
pub fn fenced_block_text(contents: impl fmt::Display) -> Markup {
|
||||
format!("```text\n{contents}\n```").into()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue