Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide/src/markup.rs')
| -rw-r--r-- | crates/ide/src/markup.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide/src/markup.rs b/crates/ide/src/markup.rs index 60c193c40a..de9fef61a7 100644 --- a/crates/ide/src/markup.rs +++ b/crates/ide/src/markup.rs @@ -33,6 +33,6 @@ impl Markup { self.text.as_str() } pub fn fenced_block(contents: &impl fmt::Display) -> Markup { - format!("```rust\n{}\n```", contents).into() + format!("```rust\n{contents}\n```").into() } } |