We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afeb790 commit f4ea46aCopy full SHA for f4ea46a
src/librustdoc/html/static/main.js
@@ -467,11 +467,7 @@
467
obj.displayPath = pathSplitter(res[0]);
468
obj.fullPath = obj.displayPath + obj.name;
469
// To be sure than it some items aren't considered as duplicate.
470
- if (obj.ty === TY_KEYWORD) {
471
- obj.fullPath += '|k';
472
- } else if (obj.ty === TY_MACRO) {
473
- obj.fullPath += '|m';
474
- }
+ obj.fullPath += '|' + obj.ty;
475
obj.href = res[1];
476
out.push(obj);
477
if (out.length >= MAX_RESULTS) {
0 commit comments