mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: types in aliases (#5212)
This commit is contained in:
@ -148,8 +148,8 @@ pub fn derive_arbitrary(args: TokenStream, input: TokenStream) -> TokenStream {
|
|||||||
let tests = arbitrary::maybe_generate_tests(args, &ast);
|
let tests = arbitrary::maybe_generate_tests(args, &ast);
|
||||||
|
|
||||||
// Avoid duplicate names
|
// Avoid duplicate names
|
||||||
let prop_import = format_ident!("{}PropTestArbitratry", ast.ident);
|
let prop_import = format_ident!("{}PropTestArbitrary", ast.ident);
|
||||||
let arb_import = format_ident!("{}Arbitratry", ast.ident);
|
let arb_import = format_ident!("{}Arbitrary", ast.ident);
|
||||||
|
|
||||||
quote! {
|
quote! {
|
||||||
#[cfg(any(test, feature = "arbitrary"))]
|
#[cfg(any(test, feature = "arbitrary"))]
|
||||||
|
|||||||
Reference in New Issue
Block a user