diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css
index 293c9787609b0..8a9a74a0ce399 100644
--- a/src/librustdoc/html/static/css/rustdoc.css
+++ b/src/librustdoc/html/static/css/rustdoc.css
@@ -538,7 +538,6 @@ ul.block, .block li {
}
.source .content pre.rust {
- white-space: pre;
overflow: auto;
padding-left: 0;
}