]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/fn-pointer-arg-name.rs
Rollup merge of #107201 - compiler-errors:confusing-async-fn-note, r=estebank
[rust.git] / tests / rustdoc / fn-pointer-arg-name.rs
1 #![crate_name = "foo"]
2
3 // @has foo/fn.f.html
4 // @has - '//pre[@class="rust item-decl"]' 'pub fn f(callback: fn(len: usize, foo: u32))'
5 pub fn f(callback: fn(len: usize, foo: u32)) {}