diff --git a/crates/ra_ide/src/display.rs b/crates/ra_ide/src/display.rs index 722092de97d..cb350808659 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( 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);