chore: types in aliases (#5212)

This commit is contained in:
Matthias Seitz
2023-10-28 16:38:51 +02:00
parent aac09e9cb6
commit 9996639306

View File

@@ -148,8 +148,8 @@ pub fn derive_arbitrary(args: TokenStream, input: TokenStream) -> TokenStream {
let tests = arbitrary::maybe_generate_tests(args, &ast);
// Avoid duplicate names
let prop_import = format_ident!("{}PropTestArbitratry", ast.ident);
let arb_import = format_ident!("{}Arbitratry", ast.ident);
let prop_import = format_ident!("{}PropTestArbitrary", ast.ident);
let arb_import = format_ident!("{}Arbitrary", ast.ident);
quote! {
#[cfg(any(test, feature = "arbitrary"))]