diff --git a/src/librustdoc/html/static/main.js b/src/librustdoc/html/static/main.js
index 04c0a0f005b..bdbcc6b3527 100644
--- a/src/librustdoc/html/static/main.js
+++ b/src/librustdoc/html/static/main.js
@@ -1633,7 +1633,7 @@ function getSearchElement() {
}
var filterCrates = getFilterCrates();
- showResults(execSearch(query, index, filterCrates), filterCrates);
+ showResults(execSearch(query, index, filterCrates));
}
function buildIndex(rawSearchIndex) {