We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcb8657 commit 38eab97Copy full SHA for 38eab97
src/librustdoc/passes.rs
@@ -162,7 +162,7 @@ pub fn collapse_docs(crate: clean::Crate) -> plugins::PluginResult {
162
_ => true
163
}).map(|x| x.clone()).collect();
164
if "" != docstr {
165
- a.push(clean::NameValue(~"doc", docstr.trim().to_owned()));
+ a.push(clean::NameValue(~"doc", docstr));
166
}
167
i.attrs = a;
168
self.fold_item_recur(i)
0 commit comments