We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1dd1f95 commit e28502eCopy full SHA for e28502e
src/librustdoc/html/static/main.js
@@ -465,6 +465,10 @@
465
var res = buildHrefAndPath(obj);
466
obj.displayPath = pathSplitter(res[0]);
467
obj.fullPath = obj.displayPath + obj.name;
468
+ if (obj.ty === TY_KEYWORD) {
469
+ // To be sure than it isn't considered as duplicate with items.
470
+ obj.fullPath += '|k';
471
+ }
472
obj.href = res[1];
473
out.push(obj);
474
if (out.length >= MAX_RESULTS) {
@@ -781,7 +785,7 @@
781
785
case "fn":
782
786
return (name == "method" || name == "tymethod");
783
787
case "type":
784
- return (name == "primitive");
788
+ return (name == "primitive" || name == "keyword");
789
}
790
791
// No match
0 commit comments