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/empty-mod-public.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/empty-mod-public.rs')
| -rw-r--r-- | tests/rustdoc/empty-mod-public.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/rustdoc/empty-mod-public.rs b/tests/rustdoc/empty-mod-public.rs index b5a63525524..97f41a807c6 100644 --- a/tests/rustdoc/empty-mod-public.rs +++ b/tests/rustdoc/empty-mod-public.rs @@ -1,14 +1,17 @@ //@ has 'empty_mod_public/index.html' '//a[@href="foo/index.html"]' 'foo' //@ hasraw 'empty_mod_public/sidebar-items.js' 'foo' -//@ matches 'empty_mod_public/foo/index.html' '//h1' 'Module empty_mod_public::foo' +//@ matches 'empty_mod_public/foo/index.html' '//h1' 'Module foo' +//@ matches - '//*[@class="rustdoc-breadcrumbs"]' 'empty_mod_public::' pub mod foo {} //@ has 'empty_mod_public/index.html' '//a[@href="bar/index.html"]' 'bar' //@ hasraw 'empty_mod_public/sidebar-items.js' 'bar' -//@ matches 'empty_mod_public/bar/index.html' '//h1' 'Module empty_mod_public::bar' +//@ matches 'empty_mod_public/bar/index.html' '//h1' 'Module bar' +//@ matches - '//*[@class="rustdoc-breadcrumbs"]' 'empty_mod_public::' pub mod bar { //@ has 'empty_mod_public/bar/index.html' '//a[@href="baz/index.html"]' 'baz' //@ hasraw 'empty_mod_public/bar/sidebar-items.js' 'baz' - //@ matches 'empty_mod_public/bar/baz/index.html' '//h1' 'Module empty_mod_public::bar::baz' + //@ matches 'empty_mod_public/bar/baz/index.html' '//h1' 'Module baz' + //@ matches - '//*[@class="rustdoc-breadcrumbs"]' 'empty_mod_public::bar::' pub mod baz {} } |
