diff --git a/src/librustdoc/html/render/print_item.rs b/src/librustdoc/html/render/print_item.rs
index 42d7e9c8c93..925bf2272bd 100644
--- a/src/librustdoc/html/render/print_item.rs
+++ b/src/librustdoc/html/render/print_item.rs
@@ -75,7 +75,7 @@ pub(super) fn print_item(cx: &Context<'_>, item: &clean::Item, buf: &mut Buffer,
);
}
}
- write!(buf, "{}", item.type_(), item.name.as_ref().unwrap());
+ write!(buf, "{}", item.type_(), item.name.as_ref().unwrap());
write!(
buf,
"