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/index-page.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/index-page.rs')
| -rw-r--r-- | tests/rustdoc/index-page.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc/index-page.rs b/tests/rustdoc/index-page.rs index 0c947ea2e28..fc755afda4a 100644 --- a/tests/rustdoc/index-page.rs +++ b/tests/rustdoc/index-page.rs @@ -5,7 +5,7 @@ #![crate_name = "foo"] // @has foo/../index.html -// @has - '//h1[@class="fqn"]' 'List of all crates' +// @has - '//h1' 'List of all crates' // @has - '//ul[@class="all-items"]//a[@href="foo/index.html"]' 'foo' // @has - '//ul[@class="all-items"]//a[@href="all_item_types/index.html"]' 'all_item_types' pub struct Foo; |
