summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/fn-pointer-arg-name.rs
blob: 4293d849df52c1893f0c6f323d978bdfb6fc9e9f (plain)
1
2
3
4
5
#![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)) {}