]> git.lizzy.rs Git - rust.git/blobdiff - tests/rustdoc/struct-arg-pattern.rs
Rollup merge of #107662 - cjgillot:copy-projection, r=oli-obk
[rust.git] / tests / rustdoc / struct-arg-pattern.rs
index 3bfb43a0bef2c7fed5758002ec0bf30484a185ce..6f06c8c9c49965f1ee4199ed27e169401fcf6eab 100644 (file)
@@ -4,7 +4,7 @@ struct BodyId {
     hir_id: usize,
 }
 
-// @has 'foo/fn.body_owner.html' '//div[@class="item-decl"]/pre[@class="rust"]' 'pub fn body_owner(_: BodyId)'
+// @has 'foo/fn.body_owner.html' '//pre[@class="rust item-decl"]' 'pub fn body_owner(_: BodyId)'
 pub fn body_owner(BodyId { hir_id }: BodyId) {
     // ...
 }