diff options
| author | Michael Howell <michael@notriddle.com> | 2023-01-13 10:09:25 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-01-13 10:09:25 -0700 |
| commit | 39b90a5f6ee2183ac664ea91c4fb341695e4de37 (patch) | |
| tree | 4be7ca0fe16c01a42499c6a19f6d1ca7b0c27590 /tests/rustdoc/primitive.rs | |
| parent | 5ca6f7d2c34953ee360ccf7d3c84c7853ea2df4b (diff) | |
| download | rust-39b90a5f6ee2183ac664ea91c4fb341695e4de37.tar.gz rust-39b90a5f6ee2183ac664ea91c4fb341695e4de37.zip | |
rustdoc: remove unnecessary DOM class `h1.fqn`
It's misleading. The main heading sometimes isn't an fully qualified name at all. It's also redundant. It's always a child of `div.main-heading`, so just use that.
Diffstat (limited to 'tests/rustdoc/primitive.rs')
| -rw-r--r-- | tests/rustdoc/primitive.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc/primitive.rs b/tests/rustdoc/primitive.rs index 6347fdac3db..516c7c0c6fe 100644 --- a/tests/rustdoc/primitive.rs +++ b/tests/rustdoc/primitive.rs @@ -7,7 +7,7 @@ // @has foo/index.html '//div[@class="sidebar-elems"]//li/a' 'Primitive Types' // @has foo/index.html '//div[@class="sidebar-elems"]//li/a/@href' '#primitives' // @has foo/primitive.i32.html '//a[@class="primitive"]' 'i32' -// @has foo/primitive.i32.html '//h1[@class="fqn"]' 'Primitive Type i32' +// @has foo/primitive.i32.html '//h1' 'Primitive Type i32' // @has foo/primitive.i32.html '//section[@id="main-content"]//div[@class="docblock"]//p' 'this is a test!' // @has foo/index.html '//a/@href' '../foo/index.html' // @!has foo/index.html '//span' '🔒' |
