[FIX-CONFLICT-WITH-RSTEST-V2]: fix clippy

This commit is contained in:
Vyacheslav Volkov 2025-10-29 10:53:17 +03:00
parent 036564096b
commit 9438b4a5ff

View file

@ -50,7 +50,7 @@ pub fn test_context(attr: TokenStream, item: TokenStream) -> TokenStream {
fn async_wrapper_body(
args: TestContextArgs,
context_arg_name: &Option<syn::Ident>,
body: &Box<Block>,
body: &Block,
) -> proc_macro2::TokenStream {
let context_type = args.context_type;
let result_name = format_ident!("wrapped_result");
@ -85,7 +85,7 @@ fn async_wrapper_body(
fn sync_wrapper_body(
args: TestContextArgs,
context_arg_name: &Option<syn::Ident>,
body: &Box<Block>,
body: &Block,
) -> proc_macro2::TokenStream {
let context_type = args.context_type;
let result_name = format_ident!("wrapped_result");