diff --git a/src/librustdoc/html/static/search.js b/src/librustdoc/html/static/search.js
index 538c811c71097..eb232a9608122 100644
--- a/src/librustdoc/html/static/search.js
+++ b/src/librustdoc/html/static/search.js
@@ -840,7 +840,7 @@ window.initSearch = function(rawSearchIndex) {
* @param {[string]} path [The path of the result]
* @param {[string]} keys [The keys to be used (["file", "open"])]
* @param {[object]} parent [The parent of the result]
- * @return {[boolean]} [Whether the result is valid or not]
+ * @return {boolean} [Whether the result is valid or not]
*/
function validateResult(name, path, keys, parent) {
for (var i = 0, len = keys.length; i < len; ++i) {