rust/tests/rustdoc/fn-pointer-arg-name.rs
2023-01-11 09:32:08 +00:00

6 lines
175 B
Rust

#![crate_name = "foo"]
// @has foo/fn.f.html
// @has - '//*[@class="rust fn"]' 'pub fn f(callback: fn(len: usize, foo: u32))'
pub fn f(callback: fn(len: usize, foo: u32)) {}