about summary refs log tree commit diff
path: root/src/test/rustdoc/const-generics/add-impl.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-06-02 23:11:41 +0000
committerbors <bors@rust-lang.org>2021-06-02 23:11:41 +0000
commitda865095cf378fbfd07145c25fe5837ea091efeb (patch)
tree2c0a9ac6fa9c261f83ec9ef4333a29d33c5e9757 /src/test/rustdoc/const-generics/add-impl.rs
parentdbe459dedd33470f2cb28101157de316caaffa66 (diff)
parent0daf8ac41f438ba338051e18a56ef8ae64951748 (diff)
Auto merge of #84703 - GuillaumeGomez:cleanup-dom, r=jsha
Clean up dom

The commits come from #84480.

They were errors reported by the `tidy` script that we will use to ensure that the HTML generated by rustdoc is valid.

I checked carefully that there were no difference so in principle it should be exactly the same rendering but a double-check would be very appreciated in case I missed something.

Extra note: `<h4>` and some `<h3>` tags were replaced by `<div>` because they're not supposed to contain tags as they currently do.

r? `@jsha`
Diffstat (limited to 'src/test/rustdoc/const-generics/add-impl.rs')
-rw-r--r--src/test/rustdoc/const-generics/add-impl.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/rustdoc/const-generics/add-impl.rs b/src/test/rustdoc/const-generics/add-impl.rs
index 77432ba1539..8f412aa8c40 100644
--- a/src/test/rustdoc/const-generics/add-impl.rs
+++ b/src/test/rustdoc/const-generics/add-impl.rs
@@ -8,7 +8,7 @@ pub struct Simd<T, const WIDTH: usize> {
     inner: T,
 }
 
-// @has foo/struct.Simd.html '//div[@id="trait-implementations-list"]//h3/code' 'impl Add<Simd<u8, 16_usize>> for Simd<u8, 16>'
+// @has foo/struct.Simd.html '//div[@id="trait-implementations-list"]//div/code' 'impl Add<Simd<u8, 16_usize>> for Simd<u8, 16>'
 impl Add for Simd<u8, 16> {
     type Output = Self;