Title-case trait aliases section for consistency

This commit is contained in:
Noah Lev 2022-01-07 15:30:50 -08:00
parent 163a8004ae
commit 504f3f037d
2 changed files with 2 additions and 2 deletions

View File

@ -2527,7 +2527,7 @@ impl ItemSection {
Self::OpaqueTypes => "Opaque Types",
Self::AttributeMacros => "Attribute Macros",
Self::DeriveMacros => "Derive Macros",
Self::TraitAliases => "Trait aliases",
Self::TraitAliases => "Trait Aliases",
}
}
}

View File

@ -8,7 +8,7 @@ use std::fmt::Debug;
// @has foo/all.html '//a[@href="traitalias.Alias2.html"]' 'Alias2'
// @has foo/all.html '//a[@href="traitalias.Foo.html"]' 'Foo'
// @has foo/index.html '//h2[@id="trait-aliases"]' 'Trait aliases'
// @has foo/index.html '//h2[@id="trait-aliases"]' 'Trait Aliases'
// @has foo/index.html '//a[@class="traitalias"]' 'CopyAlias'
// @has foo/index.html '//a[@class="traitalias"]' 'Alias2'
// @has foo/index.html '//a[@class="traitalias"]' 'Foo'