We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5983db9 commit 8eac04fCopy full SHA for 8eac04f
src/librustdoc/html/static/js/search.js
@@ -1321,11 +1321,6 @@ function initSearch(rawSearchIndex) {
1321
* @returns {[ResultObject]}
1322
*/
1323
function sortResults(results, isType, preferredCrate) {
1324
- // if there are no results then return to default and fail
1325
- if (results.size === 0) {
1326
- return [];
1327
- }
1328
-
1329
const userQuery = parsedQuery.userQuery;
1330
const result_list = [];
1331
for (const result of results.values()) {
0 commit comments