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 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/ide/src/markup.rs b/crates/ide/src/markup.rs index 750d125426..3eb9986c12 100644 --- a/crates/ide/src/markup.rs +++ b/crates/ide/src/markup.rs @@ -5,6 +5,8 @@ //! what is used by LSP, so let's keep it simple. use std::fmt; +use ide_db::impl_empty_upmap_from_ra_fixture; + #[derive(Clone, Default, Debug, Hash, PartialEq, Eq)] pub struct Markup { text: String, @@ -39,3 +41,5 @@ impl Markup { format!("```text\n{contents}\n```").into() } } + +impl_empty_upmap_from_ra_fixture!(Markup); |