]> git.lizzy.rs Git - rust.git/blobdiff - tests/rustdoc/pub-method.rs
Auto merge of #107443 - cjgillot:generator-less-query, r=compiler-errors
[rust.git] / tests / rustdoc / pub-method.rs
index 0dca3f672cd3c42ca703a80e9112a2298b82084c..7115a01d079ff15b99d7befd2badf45028ffb970 100644 (file)
@@ -10,8 +10,8 @@ pub fn bar() -> usize {
 }
 
 // @has foo/struct.Foo.html
-// @has - '//*[@class="method has-srclink"]' 'pub fn new()'
-// @has - '//*[@class="method has-srclink"]' 'fn not_pub()'
+// @has - '//*[@class="method"]' 'pub fn new()'
+// @has - '//*[@class="method"]' 'fn not_pub()'
 pub struct Foo(usize);
 
 impl Foo {