]> git.lizzy.rs Git - rust.git/blobdiff - src/test/rustdoc/extern-impl-trait.rs
Rollup merge of #87354 - Wind-River:2021_master, r=kennytm
[rust.git] / src / test / rustdoc / extern-impl-trait.rs
index 58bd650feb4669cb39a2f4fc12a1e50e13892e14..8ab026afd1b8dd4807c693ee22288da402c4b2b5 100644 (file)
@@ -4,8 +4,8 @@
 
 extern crate extern_impl_trait;
 
-// @has 'foo/struct.X.html' '//code' "impl Foo<Associated = ()> + 'a"
+// @has 'foo/struct.X.html' '//h4[@class="code-header"]' "impl Foo<Associated = ()> + 'a"
 pub use extern_impl_trait::X;
 
-// @has 'foo/struct.Y.html' '//code' "impl ?Sized + Foo<Associated = ()> + 'a"
+// @has 'foo/struct.Y.html' '//h4[@class="code-header"]' "impl ?Sized + Foo<Associated = ()> + 'a"
 pub use extern_impl_trait::Y;