diff options
| author | Michael Howell <michael@notriddle.com> | 2023-11-29 13:38:56 -0700 | 
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-11-29 13:40:07 -0700 | 
| commit | c910a49b05ed2edac0a989efa53e6468148bf0f7 (patch) | |
| tree | eb53b88b72e78b327099c13db036d18530cc35a5 /tests/rustdoc/issue-109258-missing-private-inlining.rs | |
| parent | b10cfcd65fd7f7b1ab9beb34798b2108de003452 (diff) | |
| download | rust-c910a49b05ed2edac0a989efa53e6468148bf0f7.tar.gz rust-c910a49b05ed2edac0a989efa53e6468148bf0f7.zip | |
rustdoc: remove small from  `small-section-header`
There's no such thing as a big section header, so I don't know why the name was used.
Diffstat (limited to 'tests/rustdoc/issue-109258-missing-private-inlining.rs')
| -rw-r--r-- | tests/rustdoc/issue-109258-missing-private-inlining.rs | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/tests/rustdoc/issue-109258-missing-private-inlining.rs b/tests/rustdoc/issue-109258-missing-private-inlining.rs index 96f606368b2..12c5556f132 100644 --- a/tests/rustdoc/issue-109258-missing-private-inlining.rs +++ b/tests/rustdoc/issue-109258-missing-private-inlining.rs @@ -4,9 +4,9 @@ // @has 'foo/index.html' // We should only have a "Re-exports" and a "Modules" headers. -// @count - '//*[@id="main-content"]/h2[@class="small-section-header"]' 2 -// @has - '//*[@id="main-content"]/h2[@class="small-section-header"]' 'Re-exports' -// @has - '//*[@id="main-content"]/h2[@class="small-section-header"]' 'Modules' +// @count - '//*[@id="main-content"]/h2[@class="section-header"]' 2 +// @has - '//*[@id="main-content"]/h2[@class="section-header"]' 'Re-exports' +// @has - '//*[@id="main-content"]/h2[@class="section-header"]' 'Modules' // @has - '//*[@id="reexport.Foo"]' 'pub use crate::issue_109258::Foo;' // @has - '//*[@id="reexport.Foo"]//a[@href="issue_109258/struct.Foo.html"]' 'Foo' @@ -15,8 +15,8 @@ pub use crate::issue_109258::Foo; // @has 'foo/issue_109258/index.html' // We should only have a "Structs" header. -// @count - '//*[@id="main-content"]/h2[@class="small-section-header"]' 1 -// @has - '//*[@id="main-content"]/h2[@class="small-section-header"]' 'Structs' +// @count - '//*[@id="main-content"]/h2[@class="section-header"]' 1 +// @has - '//*[@id="main-content"]/h2[@class="section-header"]' 'Structs' // @has - '//*[@id="main-content"]//a[@href="struct.Foo.html"]' 'Foo' // @has 'foo/issue_109258/struct.Foo.html' pub mod issue_109258 { | 
