diff options
| author | bors <bors@rust-lang.org> | 2021-07-25 21:41:57 +0000 | 
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-07-25 21:41:57 +0000 | 
| commit | 76a3b609d0b93c5d8da5e4e3db37bd03e5cb1c30 (patch) | |
| tree | cbdb085960c1960f952ed572e1dc9bf497f12146 /src/test/rustdoc/generic-impl.rs | |
| parent | e742158ef5483b9cd756b193402329af3d4ba177 (diff) | |
| download | rust-76a3b609d0b93c5d8da5e4e3db37bd03e5cb1c30.tar.gz rust-76a3b609d0b93c5d8da5e4e3db37bd03e5cb1c30.zip | |
Rustdoc accessibility: use real headers for doc items
Part of #87059 Partially reverts #84703 Preview at: https://notriddle.com/notriddle-rustdoc-test/real-headers/std/index.html
Diffstat (limited to 'src/test/rustdoc/generic-impl.rs')
| -rw-r--r-- | src/test/rustdoc/generic-impl.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/test/rustdoc/generic-impl.rs b/src/test/rustdoc/generic-impl.rs index 96ced021041..906316d2ebc 100644 --- a/src/test/rustdoc/generic-impl.rs +++ b/src/test/rustdoc/generic-impl.rs @@ -2,10 +2,10 @@ use std::fmt; -// @!has foo/struct.Bar.html '//div[@id="impl-ToString"]//code' 'impl<T> ToString for T' +// @!has foo/struct.Bar.html '//div[@id="impl-ToString"]//h3[@class="code-header in-band"]' 'impl<T> ToString for T' pub struct Bar; -// @has foo/struct.Foo.html '//div[@id="impl-ToString"]//code' 'impl<T> ToString for T' +// @has foo/struct.Foo.html '//div[@id="impl-ToString"]//h3[@class="code-header in-band"]' 'impl<T> ToString for T' pub struct Foo; // @has foo/struct.Foo.html '//div[@class="sidebar-links"]/a[@href="#impl-ToString"]' 'ToString' | 
