Skip to content

Commit

Permalink
clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-marinica committed Mar 16, 2023
1 parent e7f9ebe commit a900298
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ fn build_contract_abi(builder: OutputContractBuilder, original_abi: &ContractAbi
}

fn default_wasm_crate_name(contract_name: &str) -> String {
format!("{}-wasm", contract_name)
format!("{contract_name}-wasm")
}

fn build_contract(builder: OutputContractBuilder, original_abi: &ContractAbi) -> OutputContract {
Expand Down
2 changes: 1 addition & 1 deletion framework/meta/src/output_contract/print_util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ pub fn print_build_command(contract_name: String, command: &Command) {
pub fn print_copy_contract(source_wasm_path: &str, output_wasm_path: &str) {
println!(
"{}",
format!("Copying {} to {} ...", source_wasm_path, output_wasm_path).green(),
format!("Copying {source_wasm_path} to {output_wasm_path} ...").green(),
);
}

0 comments on commit a900298

Please sign in to comment.