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 9b1a30e commit b39357bCopy full SHA for b39357b
src/librustdoc/html/static/js/search.js
@@ -3340,6 +3340,13 @@ class DocSearch {
3340
return a - b;
3341
}
3342
3343
+ // sort doc alias items later
3344
+ a = Number(aaa.item.is_alias === true);
3345
+ b = Number(bbb.item.is_alias === true);
3346
+ if (a !== b) {
3347
+ return a - b;
3348
+ }
3349
+
3350
// sort by item name (lexicographically larger goes later)
3351
let aw = aaa.word;
3352
let bw = bbb.word;
0 commit comments