diff --git a/src/librustdoc/html/markdown.rs b/src/librustdoc/html/markdown.rs index 3b599e4997a4b..e21469dc9c343 100644 --- a/src/librustdoc/html/markdown.rs +++ b/src/librustdoc/html/markdown.rs @@ -621,8 +621,7 @@ impl<'a, I: Iterator>> Iterator for Footnotes<'a, I> { is_paragraph = true; } html::push_html(&mut ret, content.into_iter()); - write!(ret, " ", id) - .unwrap(); + write!(ret, " ", id).unwrap(); if is_paragraph { ret.push_str("

"); }