@@ -687,21 +687,21 @@ function preLoadCss(cssUrl) {
687
687
return [ elem , elem ? elem . querySelector ( ".negative-marker" ) : null ] ;
688
688
}
689
689
const implementors = implementorsElems ( "implementors-list" ) ;
690
- const synthetic_implementors = implementorsElems ( "synthetic-implementors-list" ) ;
690
+ const syntheticImplementors = implementorsElems ( "synthetic-implementors-list" ) ;
691
691
const inlined_types = new Set ( ) ;
692
692
693
693
const TEXT_IDX = 0 ;
694
694
const IS_NEG_IDX = 1 ;
695
695
const SYNTHETIC_IDX = 2 ;
696
696
const TYPES_IDX = 3 ;
697
697
698
- if ( synthetic_implementors [ 0 ] ) {
698
+ if ( syntheticImplementors [ 0 ] ) {
699
699
// This `inlined_types` variable is used to avoid having the same implementation
700
700
// showing up twice. For example "String" in the "Sync" doc page.
701
701
//
702
702
// By the way, this is only used by and useful for traits implemented automatically
703
703
// (like "Send" and "Sync").
704
- onEachLazy ( synthetic_implementors [ 0 ] . getElementsByClassName ( "impl" ) , el => {
704
+ onEachLazy ( syntheticImplementors [ 0 ] . getElementsByClassName ( "impl" ) , el => {
705
705
const aliases = el . getAttribute ( "data-aliases" ) ;
706
706
if ( ! aliases ) {
707
707
return ;
@@ -736,7 +736,7 @@ function preLoadCss(cssUrl) {
736
736
737
737
struct_loop:
738
738
for ( const struct of structs ) {
739
- const list = struct [ SYNTHETIC_IDX ] ? synthetic_implementors : implementors ;
739
+ const list = struct [ SYNTHETIC_IDX ] ? syntheticImplementors : implementors ;
740
740
741
741
// The types list is only used for synthetic impls.
742
742
// If this changes, `main.js` and `write_shared.rs` both need changed.
@@ -784,6 +784,12 @@ function preLoadCss(cssUrl) {
784
784
currentNbImpls += 1 ;
785
785
}
786
786
}
787
+ if ( implementors [ 0 ] ) {
788
+ implementors [ 0 ] . style . display = "block" ;
789
+ }
790
+ if ( syntheticImplementors [ 0 ] ) {
791
+ syntheticImplementors [ 0 ] . style . display = "block" ;
792
+ }
787
793
} ;
788
794
if ( window . pending_implementors ) {
789
795
window . register_implementors ( window . pending_implementors ) ;
0 commit comments