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 783139b commit da18df2Copy full SHA for da18df2
src/librustdoc/html/static/main.js
@@ -2366,7 +2366,9 @@ function defocusSearchBar() {
2366
if (!next) {
2367
return;
2368
}
2369
- if (next.getElementsByClassName("method").length > 0 && hasClass(e, "impl")) {
+ if (hasClass(e, "impl") &&
2370
+ (next.getElementsByClassName("method").length > 0 ||
2371
+ next.getElementsByClassName("associatedconstant").length > 0)) {
2372
insertAfter(toggle.cloneNode(true), e.childNodes[e.childNodes.length - 1]);
2373
2374
};
0 commit comments