diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css
index 53b08cf5697..959c862743c 100644
--- a/src/librustdoc/html/static/rustdoc.css
+++ b/src/librustdoc/html/static/rustdoc.css
@@ -1052,6 +1052,10 @@ span.since {
height: 45px;
}
+ .rustdoc.source > .sidebar > .sidebar-menu {
+ display: none;
+ }
+
.sidebar-elems {
position: fixed;
z-index: 1;