Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
pkhry committed Nov 6, 2024
1 parent b24f886 commit ec25795
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ mod tests {
syn::parse2::<RuntimeApiImpls>(code).unwrap();

// Run the renamer which is being run first in the `impl_runtime_apis!` macro.
rename_self_in_trait_impls(&mut api_impls).expect("Will succeed");
rename_self_in_trait_impls(&mut api_impls);
let result: TokenStream = quote::quote! { #(#api_impls)* };

assert_eq!(result.to_string(), expected.to_string());
Expand Down

0 comments on commit ec25795

Please sign in to comment.