rustdoc: normalise type/field names in rustdoc-json-types/jsondoclint
This commit is contained in:
parent
d571ae851d
commit
f2696ab4d3
74 changed files with 382 additions and 375 deletions
|
@ -1,7 +1,7 @@
|
|||
//@ is "$.index[*][?(@.name=='fst')].inner.function.decl.inputs[0][0]" '"(x, _)"'
|
||||
//@ is "$.index[*][?(@.name=='fst')].inner.function.sig.inputs[0][0]" '"(x, _)"'
|
||||
pub fn fst<X, Y>((x, _): (X, Y)) -> X {
|
||||
x
|
||||
}
|
||||
|
||||
//@ is "$.index[*][?(@.name=='drop_int')].inner.function.decl.inputs[0][0]" '"_"'
|
||||
//@ is "$.index[*][?(@.name=='drop_int')].inner.function.sig.inputs[0][0]" '"_"'
|
||||
pub fn drop_int(_: i32) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue