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.
2 parents 275599d + 99df340 commit bfe49a0Copy full SHA for bfe49a0
src/librustdoc/html/static/main.js
@@ -2274,9 +2274,12 @@ function defocusSearchBar() {
2274
2275
function implHider(addOrRemove, fullHide) {
2276
return function(n) {
2277
- var is_method = hasClass(n, "method") || fullHide;
2278
- if (is_method || hasClass(n, "type")) {
2279
- if (is_method === true) {
+ var shouldHide =
+ fullHide === true ||
+ hasClass(n, "method") === true ||
2280
+ hasClass(n, "associatedconstant") === true;
2281
+ if (shouldHide === true || hasClass(n, "type") === true) {
2282
+ if (shouldHide === true) {
2283
if (addOrRemove) {
2284
addClass(n, "hidden-by-impl-hider");
2285
} else {
0 commit comments