]> git.lizzy.rs Git - rust.git/blobdiff - tests/rustdoc/fn-pointer-arg-name.rs
Rollup merge of #106823 - m-ou-se:format-args-as-str-guarantees, r=dtolnay
[rust.git] / tests / rustdoc / fn-pointer-arg-name.rs
index 4293d849df52c1893f0c6f323d978bdfb6fc9e9f..96c64ac4e0211b2c09873e337208f6913899e1b9 100644 (file)
@@ -1,5 +1,5 @@
 #![crate_name = "foo"]
 
 // @has foo/fn.f.html
-// @has - '//*[@class="rust fn"]' 'pub fn f(callback: fn(len: usize, foo: u32))'
+// @has - '//div[@class="item-decl"]/pre[@class="rust"]' 'pub fn f(callback: fn(len: usize, foo: u32))'
 pub fn f(callback: fn(len: usize, foo: u32)) {}