diff --git a/src/librustdoc/html/static/themes/dark.css b/src/librustdoc/html/static/themes/dark.css
index 2cd1a8580890c..61392f1ce0f31 100644
--- a/src/librustdoc/html/static/themes/dark.css
+++ b/src/librustdoc/html/static/themes/dark.css
@@ -419,10 +419,6 @@ kbd {
color: #ccc;
}
-.impl-items code {
- background-color: rgba(0, 0, 0, 0);
-}
-
#sidebar-toggle {
background-color: #565656;
}
diff --git a/src/librustdoc/html/static/themes/light.css b/src/librustdoc/html/static/themes/light.css
index 4cf35f64d19a4..de6d847a30c77 100644
--- a/src/librustdoc/html/static/themes/light.css
+++ b/src/librustdoc/html/static/themes/light.css
@@ -414,10 +414,6 @@ kbd {
color: #999;
}
-.impl-items code {
- background-color: rgba(0, 0, 0, 0);
-}
-
#sidebar-toggle {
background-color: #F1F1F1;
}