aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/display.rs
diff options
context:
space:
mode:
authorGalilée 'Bill' Enguehard <[email protected]>2020-05-21 11:06:29 +0100
committerGalilée 'Bill' Enguehard <[email protected]>2020-05-21 22:26:09 +0100
commitdb926218b2082077750291f8426ddd28b284cd08 (patch)
tree8a5c85f1c09c27352b74eb5f50f030702634e817 /crates/ra_ide/src/display.rs
parent3232fd5179f2e36dee69955ba8aae0463b142e67 (diff)
Add extra newline after module path in hover info
Closes issue #3813
Diffstat (limited to 'crates/ra_ide/src/display.rs')
-rw-r--r--crates/ra_ide/src/display.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide/src/display.rs b/crates/ra_ide/src/display.rs
index 722092de9..cb3508086 100644
--- a/crates/ra_ide/src/display.rs
+++ b/crates/ra_ide/src/display.rs
@@ -83,7 +83,7 @@ pub(crate) fn rust_code_markup_with_doc(
83 83
84 if let Some(mod_path) = mod_path { 84 if let Some(mod_path) = mod_path {
85 if !mod_path.is_empty() { 85 if !mod_path.is_empty() {
86 format_to!(buf, "{}\n", mod_path); 86 format_to!(buf, "{}\n\n", mod_path);
87 } 87 }
88 } 88 }
89 format_to!(buf, "{}\n```", code); 89 format_to!(buf, "{}\n```", code);