We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bc10b68 + da18df2 commit 98bd22bCopy full SHA for 98bd22b
src/librustdoc/html/static/main.js
@@ -2374,7 +2374,9 @@ function defocusSearchBar() {
2374
if (!next) {
2375
return;
2376
}
2377
- if (next.getElementsByClassName("method").length > 0 && hasClass(e, "impl")) {
+ if (hasClass(e, "impl") &&
2378
+ (next.getElementsByClassName("method").length > 0 ||
2379
+ next.getElementsByClassName("associatedconstant").length > 0)) {
2380
insertAfter(toggle.cloneNode(true), e.childNodes[e.childNodes.length - 1]);
2381
2382
};
0 commit comments