mirror of
https://codeberg.org/JasterV/test-context.git
synced 2026-04-26 18:10:06 +00:00
[FIX-CONFLICT-WITH-RSTEST-V2]: fix clippy
This commit is contained in:
parent
036564096b
commit
9438b4a5ff
1 changed files with 2 additions and 2 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in a new issue