]> git.lizzy.rs Git - rust.git/commitdiff
Add extra newline after module path in hover info
authorGalilée 'Bill' Enguehard <galilee.enguehard@gmail.com>
Thu, 21 May 2020 10:06:29 +0000 (12:06 +0200)
committerGalilée 'Bill' Enguehard <galilee.enguehard@gmail.com>
Thu, 21 May 2020 21:26:09 +0000 (23:26 +0200)
Closes issue #3813

crates/ra_ide/src/display.rs

index 722092de97d8380aaa1101d3359649fcbb87280f..cb350808659bae047c85f5bb02640a676c90319d 100644 (file)
@@ -83,7 +83,7 @@ pub(crate) fn rust_code_markup_with_doc(
 
     if let Some(mod_path) = mod_path {
         if !mod_path.is_empty() {
-            format_to!(buf, "{}\n", mod_path);
+            format_to!(buf, "{}\n\n", mod_path);
         }
     }
     format_to!(buf, "{}\n```", code);