diff --git a/src/librustdoc/html/static/main.js b/src/librustdoc/html/static/main.js
index 07507047dc2c9..b63abec1f0e8b 100644
--- a/src/librustdoc/html/static/main.js
+++ b/src/librustdoc/html/static/main.js
@@ -2214,7 +2214,6 @@
if (hash !== null) {
var elem = document.getElementById(hash);
if (elem && elem.offsetParent === null) {
- console.log(elem, elem.parentNode);
if (elem.parentNode && elem.parentNode.previousSibling) {
var collapses = elem.parentNode
.previousSibling