1
Fork 0

rustdoc: normalise type/field names in rustdoc-json-types/jsondoclint

This commit is contained in:
schvv31n 2024-08-05 00:44:35 +01:00
parent d571ae851d
commit f2696ab4d3
74 changed files with 382 additions and 375 deletions

View file

@ -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) {}