Add extra newline after module path in hover info

Closes issue #3813
This commit is contained in:
Galilée 'Bill' Enguehard 2020-05-21 12:06:29 +02:00
parent 3232fd5179
commit db926218b2

View 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);