@@ -490,19 +490,33 @@ function preLoadCss(cssUrl) {
490490 }
491491
492492 if ( sidebar ) {
493+ // keep this synchronized with ItemSection::ALL in html/render/mod.rs
494+ // Re-exports aren't shown here, because they don't have child pages
495+ //block("reexport", "reexports", "Re-exports");
493496 block ( "primitive" , "primitives" , "Primitive Types" ) ;
494497 block ( "mod" , "modules" , "Modules" ) ;
495498 block ( "macro" , "macros" , "Macros" ) ;
496499 block ( "struct" , "structs" , "Structs" ) ;
497500 block ( "enum" , "enums" , "Enums" ) ;
498- block ( "union" , "unions" , "Unions" ) ;
499501 block ( "constant" , "constants" , "Constants" ) ;
500502 block ( "static" , "static" , "Statics" ) ;
501503 block ( "trait" , "traits" , "Traits" ) ;
502504 block ( "fn" , "functions" , "Functions" ) ;
503505 block ( "type" , "types" , "Type Aliases" ) ;
506+ block ( "union" , "unions" , "Unions" ) ;
507+ // No point, because these items don't appear in modules
508+ //block("impl", "impls", "Implementations");
509+ //block("tymethod", "tymethods", "Type Methods");
510+ //block("method", "methods", "Methods");
511+ //block("structfield", "fields", "Fields");
512+ //block("variant", "variants", "Variants");
513+ //block("associatedtype", "associated-types", "Associated Types");
514+ //block("associatedconstant", "associated-consts", "Associated Constants");
504515 block ( "foreigntype" , "foreign-types" , "Foreign Types" ) ;
505516 block ( "keyword" , "keywords" , "Keywords" ) ;
517+ block ( "opaque" , "opaque-types" , "Opaque Types" ) ;
518+ block ( "attr" , "attributes" , "Attribute Macros" ) ;
519+ block ( "derive" , "derives" , "Derive Macros" ) ;
506520 block ( "traitalias" , "trait-aliases" , "Trait Aliases" ) ;
507521 }
508522 }
0 commit comments