File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/librustdoc/html/static/js Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -799,7 +799,7 @@ function preLoadCss(cssUrl) {
799799 block ( "foreigntype" , "foreign-types" , "Foreign Types" ) ;
800800 block ( "keyword" , "keywords" , "Keywords" ) ;
801801 block ( "attribute" , "attributes" , "Attributes" ) ;
802- block ( "attr" , "attributes " , "Attribute Macros" ) ;
802+ block ( "attr" , "attribute-macros " , "Attribute Macros" ) ;
803803 block ( "derive" , "derives" , "Derive Macros" ) ;
804804 block ( "traitalias" , "trait-aliases" , "Trait Aliases" ) ;
805805 }
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ assert-count: ("#main-content a[href='macro.attr_macro.html']", 2)
2727// First in the "Macros" section.
2828assert-text: ("#macros + .item-table a[href='macro.attr_macro.html']", "attr_macro")
2929// Then in the "Attribute Macros" section.
30- assert-text: ("#attributes + .item-table a[href='macro.attr_macro.html']", "attr_macro")
30+ assert-text: ("#attribute-macros + .item-table a[href='macro.attr_macro.html']", "attr_macro")
3131
3232// And finally we check it's correctly listed in the "all items" page.
3333go-to: "file://" + |DOC_PATH| + "/test_docs/all.html"
@@ -36,4 +36,4 @@ assert-count: ("#main-content a[href='macro.attr_macro.html']", 2)
3636// First in the "Macros" section.
3737assert-text: ("#macros + .all-items a[href='macro.attr_macro.html']", "attr_macro")
3838// Then in the "Attribute Macros" section.
39- assert-text: ("#attributes + .all-items a[href='macro.attr_macro.html']", "attr_macro")
39+ assert-text: ("#attribute-macros + .all-items a[href='macro.attr_macro.html']", "attr_macro")
You can’t perform that action at this time.
0 commit comments