File tree 1 file changed +3
-4
lines changed
src/librustdoc/html/static
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1990
1990
if ( ! next ) {
1991
1991
return ;
1992
1992
}
1993
- if ( ( checkIfThereAreMethods ( next . childNodes ) || hasClass ( e , 'method' ) ) &&
1993
+ if ( ( hasClass ( e , 'method' ) || hasClass ( e , 'associatedconstant' ) ||
1994
+ checkIfThereAreMethods ( next . childNodes ) ) &&
1994
1995
( hasClass ( next , 'docblock' ) ||
1995
1996
hasClass ( e , 'impl' ) ||
1996
1997
( hasClass ( next , 'stability' ) &&
1999
2000
}
2000
2001
} ;
2001
2002
onEach ( document . getElementsByClassName ( 'method' ) , func ) ;
2003
+ onEach ( document . getElementsByClassName ( 'associatedconstant' ) , func ) ;
2002
2004
onEach ( document . getElementsByClassName ( 'impl' ) , func ) ;
2003
- onEach ( document . getElementsByClassName ( 'impl-items' ) , function ( e ) {
2004
- onEach ( e . getElementsByClassName ( 'associatedconstant' ) , func ) ;
2005
- } ) ;
2006
2005
2007
2006
function createToggle ( otherMessage , fontSize , extraClass ) {
2008
2007
var span = document . createElement ( 'span' ) ;
You can’t perform that action at this time.
0 commit comments