chore: types in aliases (#5212)

This commit is contained in:
Matthias Seitz
2023-10-28 16:38:51 +02:00
committed by GitHub
parent 76e751eef4
commit aa4a39e21f

View File

@ -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"))]