Skip to content

Commit 0f37ddd

Browse files
committed
don't mess up userQuery
1 parent b44fea5 commit 0f37ddd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/librustdoc/html/static/js/search.js

-1
Original file line numberDiff line numberDiff line change
@@ -1956,7 +1956,6 @@ class DocSearch {
19561956
const nonCrateElems = query.elems.filter(handleCrateFilters);
19571957
if (nonCrateElems.length !== query.elems.length) {
19581958
query.elems = nonCrateElems;
1959-
query.userQuery = query.elems.join(", ");
19601959
}
19611960

19621961
if (!query.literalSearch) {

0 commit comments

Comments
 (0)