Skip to content

Commit b021bee

Browse files
committed
Auto merge of #84285 - hi-rustin:rustin-patch-search, r=GuillaumeGomez
Fix the wrong return value type description of validateResult It's should be boolean not [boolean].
2 parents d7c3386 + 37b2897 commit b021bee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/librustdoc/html/static/search.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ window.initSearch = function(rawSearchIndex) {
840840
* @param {[string]} path [The path of the result]
841841
* @param {[string]} keys [The keys to be used (["file", "open"])]
842842
* @param {[object]} parent [The parent of the result]
843-
* @return {[boolean]} [Whether the result is valid or not]
843+
* @return {boolean} [Whether the result is valid or not]
844844
*/
845845
function validateResult(name, path, keys, parent) {
846846
for (var i = 0, len = keys.length; i < len; ++i) {

0 commit comments

Comments
 (0)