@@ -812,21 +812,21 @@ function preLoadCss(cssUrl) {
812812 return [ elem , elem ? elem . querySelector ( ".negative-marker" ) : null ] ;
813813 }
814814 const implementors = implementorsElems ( "implementors-list" ) ;
815- const synthetic_implementors = implementorsElems ( "synthetic-implementors-list" ) ;
815+ const syntheticImplementors = implementorsElems ( "synthetic-implementors-list" ) ;
816816 const inlined_types = new Set ( ) ;
817817
818818 const TEXT_IDX = 0 ;
819819 const IS_NEG_IDX = 1 ;
820820 const SYNTHETIC_IDX = 2 ;
821821 const TYPES_IDX = 3 ;
822822
823- if ( synthetic_implementors [ 0 ] ) {
823+ if ( syntheticImplementors [ 0 ] ) {
824824 // This `inlined_types` variable is used to avoid having the same implementation
825825 // showing up twice. For example "String" in the "Sync" doc page.
826826 //
827827 // By the way, this is only used by and useful for traits implemented automatically
828828 // (like "Send" and "Sync").
829- onEachLazy ( synthetic_implementors [ 0 ] . getElementsByClassName ( "impl" ) , el => {
829+ onEachLazy ( syntheticImplementors [ 0 ] . getElementsByClassName ( "impl" ) , el => {
830830 const aliases = el . getAttribute ( "data-aliases" ) ;
831831 if ( ! aliases ) {
832832 return ;
@@ -861,7 +861,7 @@ function preLoadCss(cssUrl) {
861861
862862 struct_loop:
863863 for ( const struct of structs ) {
864- const list = struct [ SYNTHETIC_IDX ] ? synthetic_implementors : implementors ;
864+ const list = struct [ SYNTHETIC_IDX ] ? syntheticImplementors : implementors ;
865865
866866 // The types list is only used for synthetic impls.
867867 // If this changes, `main.js` and `write_shared.rs` both need changed.
@@ -909,6 +909,12 @@ function preLoadCss(cssUrl) {
909909 currentNbImpls += 1 ;
910910 }
911911 }
912+ if ( implementors [ 0 ] ) {
913+ implementors [ 0 ] . style . display = "block" ;
914+ }
915+ if ( syntheticImplementors [ 0 ] ) {
916+ syntheticImplementors [ 0 ] . style . display = "block" ;
917+ }
912918 } ;
913919 if ( window . pending_implementors ) {
914920 window . register_implementors ( window . pending_implementors ) ;
0 commit comments