Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
7
tests/rustdoc-json/fns/pattern_arg.rs
Normal file
7
tests/rustdoc-json/fns/pattern_arg.rs
Normal file
|
@ -0,0 +1,7 @@
|
|||
// @is "$.index[*][?(@.name=='fst')].inner.decl.inputs[0][0]" '"(x, _)"'
|
||||
pub fn fst<X, Y>((x, _): (X, Y)) -> X {
|
||||
x
|
||||
}
|
||||
|
||||
// @is "$.index[*][?(@.name=='drop_int')].inner.decl.inputs[0][0]" '"_"'
|
||||
pub fn drop_int(_: i32) {}
|
Loading…
Add table
Add a link
Reference in a new issue