aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir_def')
-rw-r--r--crates/ra_hir_def/src/docs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir_def/src/docs.rs b/crates/ra_hir_def/src/docs.rs
index 74b9f8199..ab43cd3d3 100644
--- a/crates/ra_hir_def/src/docs.rs
+++ b/crates/ra_hir_def/src/docs.rs
@@ -109,6 +109,6 @@ fn expand_doc_attrs(owner: &dyn ast::AttrsOwner) -> Option<String> {
109 if docs.is_empty() { 109 if docs.is_empty() {
110 None 110 None
111 } else { 111 } else {
112 Some(docs) 112 Some(docs.trim_end_matches("\n\n").to_owned())
113 } 113 }
114} 114}