diff options
| author | Michael Howell <michael@notriddle.com> | 2024-09-02 19:42:28 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2024-09-10 17:56:06 -0700 |
| commit | 5b1b2e97e36c4966b9c6c30d5679f6da76503fc7 (patch) | |
| tree | c547e08dcc1f152f023b0b308fb87964f7926fb4 /tests/rustdoc/inline_cross/renamed-via-module.rs | |
| parent | d05323c7b4ebeaeaffe3ea8e0d02a8b01db67ddd (diff) | |
| download | rust-5b1b2e97e36c4966b9c6c30d5679f6da76503fc7.tar.gz rust-5b1b2e97e36c4966b9c6c30d5679f6da76503fc7.zip | |
rustdoc: make the header show all three buttons
This tweaks it to use less space for the breadcrumbs.
Diffstat (limited to 'tests/rustdoc/inline_cross/renamed-via-module.rs')
| -rw-r--r-- | tests/rustdoc/inline_cross/renamed-via-module.rs | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/tests/rustdoc/inline_cross/renamed-via-module.rs b/tests/rustdoc/inline_cross/renamed-via-module.rs index bdaf2cf1f62..a5af9b96f6c 100644 --- a/tests/rustdoc/inline_cross/renamed-via-module.rs +++ b/tests/rustdoc/inline_cross/renamed-via-module.rs @@ -10,15 +10,19 @@ extern crate foo; //@ has - '//a/[@href="struct.DeprecatedStepBy.html"]' "DeprecatedStepBy" //@ has - '//a/[@href="struct.StepBy.html"]' "StepBy" //@ has foo/iter/struct.DeprecatedStepBy.html -//@ has - '//h1' "Struct foo::iter::DeprecatedStepBy" +//@ has - '//h1' "Struct DeprecatedStepBy" +//@ matches - '//*[@class="rustdoc-breadcrumbs"]' 'foo::iter::' //@ has foo/iter/struct.StepBy.html -//@ has - '//h1' "Struct foo::iter::StepBy" +//@ has - '//h1' "Struct StepBy" +//@ matches - '//*[@class="rustdoc-breadcrumbs"]' 'foo::iter::' //@ has bar/iter/index.html //@ has - '//a/[@href="struct.DeprecatedStepBy.html"]' "DeprecatedStepBy" //@ has - '//a/[@href="struct.StepBy.html"]' "StepBy" //@ has bar/iter/struct.DeprecatedStepBy.html -//@ has - '//h1' "Struct bar::iter::DeprecatedStepBy" +//@ has - '//h1' "Struct DeprecatedStepBy" +//@ matches - '//*[@class="rustdoc-breadcrumbs"]' 'bar::iter::' //@ has bar/iter/struct.StepBy.html -//@ has - '//h1' "Struct bar::iter::StepBy" +//@ has - '//h1' "Struct StepBy" +//@ matches - '//*[@class="rustdoc-breadcrumbs"]' 'bar::iter::' pub use foo::iter; |
