Skip to content

Commit

Permalink
don't mess up userQuery
Browse files Browse the repository at this point in the history
  • Loading branch information
lolbinarycat committed Sep 3, 2024
1 parent b44fea5 commit 0f37ddd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/librustdoc/html/static/js/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -1956,7 +1956,6 @@ class DocSearch {
const nonCrateElems = query.elems.filter(handleCrateFilters);
if (nonCrateElems.length !== query.elems.length) {
query.elems = nonCrateElems;
query.userQuery = query.elems.join(", ");
}

if (!query.literalSearch) {
Expand Down

0 comments on commit 0f37ddd

Please sign in to comment.