File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/librustdoc/html/static Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1073,13 +1073,13 @@ function hideThemeButtonState() {
10731073 }
10741074 }
10751075
1076- function collapseNonInherent ( e , collapse ) {
1076+ function collapseNonInherent ( e ) {
10771077 // inherent impl ids are like "impl" or impl-<number>'.
10781078 // they will never be hidden by default.
10791079 var n = e . parentElement ;
10801080 if ( n . id . match ( / ^ i m p l (?: - \d + ) ? $ / ) === null ) {
10811081 // Automatically minimize all non-inherent impls
1082- if ( collapse || hasClass ( n , "impl" ) ) {
1082+ if ( hasClass ( n , "impl" ) ) {
10831083 collapseDocs ( e , "hide" ) ;
10841084 }
10851085 }
@@ -1149,14 +1149,14 @@ function hideThemeButtonState() {
11491149 var impl_list = document . getElementById ( "trait-implementations-list" ) ;
11501150 if ( impl_list !== null ) {
11511151 onEachLazy ( impl_list . getElementsByClassName ( "collapse-toggle" ) , function ( e ) {
1152- collapseNonInherent ( e , collapse ) ;
1152+ collapseNonInherent ( e ) ;
11531153 } ) ;
11541154 }
11551155
11561156 var blanket_list = document . getElementById ( "blanket-implementations-list" ) ;
11571157 if ( blanket_list !== null ) {
11581158 onEachLazy ( blanket_list . getElementsByClassName ( "collapse-toggle" ) , function ( e ) {
1159- collapseNonInherent ( e , collapse ) ;
1159+ collapseNonInherent ( e ) ;
11601160 } ) ;
11611161 }
11621162
You can’t perform that action at this time.
0 commit comments