]> git.lizzy.rs Git - rust.git/blobdiff - src/test/rustdoc/ensure-src-link.rs
Auto merge of #82624 - ojeda:rwlock-example-deadlock, r=JohnTitor
[rust.git] / src / test / rustdoc / ensure-src-link.rs
index 4b6270b26da276fe122d7955317aa3a308323aff..6189acb72542a613612d67d183886e28441e03ff 100644 (file)
@@ -2,5 +2,5 @@
 
 // This test ensures that the [src] link is present on traits items.
 
-// @has foo/trait.Iterator.html '//div[@id="method.zip"]/a[@class="srclink"]' "[src]"
+// @has foo/trait.Iterator.html '//div[@id="method.zip"]//a[@class="srclink"]' "[src]"
 pub use std::iter::Iterator;