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 c7cff21 commit 99df340Copy full SHA for 99df340
src/librustdoc/html/static/main.js
@@ -2257,9 +2257,12 @@ function defocusSearchBar() {
2257
2258
function implHider(addOrRemove, fullHide) {
2259
return function(n) {
2260
- var is_method = hasClass(n, "method") || fullHide;
2261
- if (is_method || hasClass(n, "type")) {
2262
- if (is_method === true) {
+ var shouldHide =
+ fullHide === true ||
+ hasClass(n, "method") === true ||
2263
+ hasClass(n, "associatedconstant") === true;
2264
+ if (shouldHide === true || hasClass(n, "type") === true) {
2265
+ if (shouldHide === true) {
2266
if (addOrRemove) {
2267
addClass(n, "hidden-by-impl-hider");
2268
} else {
0 commit comments