Skip to content

Commit

Permalink
Fix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
pgherveou committed Nov 2, 2023
1 parent 1643054 commit 0143bfd
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions crates/e2e/macro/src/codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,7 @@ fn build_full_client(environment: &syn::Path, contracts: TokenStream2) -> TokenS
}

#[cfg(any(test, feature = "drink"))]
fn build_runtime_client(
contracts: TokenStream2,
runtime: syn::Path,
) -> TokenStream2 {
fn build_runtime_client(contracts: TokenStream2, runtime: syn::Path) -> TokenStream2 {
quote! {
let contracts = #contracts;
let mut client = ::ink_e2e::DrinkClient::<_, _, #runtime>::new(contracts);
Expand Down

0 comments on commit 0143bfd

Please sign in to comment.