We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e08cd3c commit 5f447a1Copy full SHA for 5f447a1
tests/rustdoc/fn-pointer-arg-name.rs
@@ -3,3 +3,11 @@
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)) {}
6
+
7
+//@ has foo/fn.g.html
8
+//@ has - '//pre[@class="rust item-decl"]' 'pub fn g(_: fn(_: usize, _: u32))'
9
+pub fn g(_: fn(usize, _: u32)) {}
10
11
+//@ has foo/fn.mixed.html
12
+//@ has - '//pre[@class="rust item-decl"]' 'pub fn mixed(_: fn(_: usize, foo: u32))'
13
+pub fn mixed(_: fn(usize, foo: u32)) {}
0 commit comments