about summary refs log tree commit diff
path: root/tests/rustdoc/primitive-slice-auto-trait.rs
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2024-09-02 19:42:28 -0700
committerMichael Howell <michael@notriddle.com>2024-09-10 17:56:06 -0700
commit5b1b2e97e36c4966b9c6c30d5679f6da76503fc7 (patch)
treec547e08dcc1f152f023b0b308fb87964f7926fb4 /tests/rustdoc/primitive-slice-auto-trait.rs
parentd05323c7b4ebeaeaffe3ea8e0d02a8b01db67ddd (diff)
downloadrust-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/primitive-slice-auto-trait.rs')
-rw-r--r--tests/rustdoc/primitive-slice-auto-trait.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/rustdoc/primitive-slice-auto-trait.rs b/tests/rustdoc/primitive-slice-auto-trait.rs
index a877b73cf9f..e78d1d94614 100644
--- a/tests/rustdoc/primitive-slice-auto-trait.rs
+++ b/tests/rustdoc/primitive-slice-auto-trait.rs
@@ -3,8 +3,7 @@
 #![crate_name = "foo"]
 #![feature(rustc_attrs)]
 
-//@ has foo/primitive.slice.html '//a[@class="primitive"]' 'slice'
-//@ has - '//h1' 'Primitive Type slice'
+//@ has foo/primitive.slice.html '//h1' 'Primitive Type slice'
 //@ has - '//section[@id="main-content"]//div[@class="docblock"]//p' 'this is a test!'
 //@ has - '//h2[@id="synthetic-implementations"]' 'Auto Trait Implementations'
 //@ has - '//div[@id="synthetic-implementations-list"]//h3' 'impl<T> Send for [T]where T: Send'