diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css
index 2c937aa0ec9..6a87596288a 100644
--- a/src/librustdoc/html/static/css/rustdoc.css
+++ b/src/librustdoc/html/static/css/rustdoc.css
@@ -398,7 +398,7 @@ nav.sub {
}
.source .sidebar > *:not(:first-child) {
- transition: opacity 0.5s, visibility 0.2s;
+ transition: opacity 0.5s;
opacity: 0;
visibility: hidden;
}