From d460c87d5d16bd18400f260bb1d1438d2f8a4715 Mon Sep 17 00:00:00 2001 From: enitrat Date: Tue, 3 Dec 2024 14:49:59 +0800 Subject: [PATCH] clippy fixes --- crates/blockifier/src/execution/contract_class.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/blockifier/src/execution/contract_class.rs b/crates/blockifier/src/execution/contract_class.rs index 45fc25724e..01d6e14851 100644 --- a/crates/blockifier/src/execution/contract_class.rs +++ b/crates/blockifier/src/execution/contract_class.rs @@ -511,7 +511,7 @@ impl TryInto for &CompiledClassV1 { .builtins .clone() .into_iter() - .map(|x| x.to_string().into()) + .map(|x| x.to_string()) .collect(), }) .collect(); @@ -528,7 +528,7 @@ impl TryInto for &CompiledClassV1 { .builtins .clone() .into_iter() - .map(|x| x.to_string().into()) + .map(|x| x.to_string()) .collect(), }) .collect(); @@ -545,7 +545,7 @@ impl TryInto for &CompiledClassV1 { .builtins .clone() .into_iter() - .map(|x| x.to_string().into()) + .map(|x| x.to_string()) .collect(), }) .collect(); @@ -682,10 +682,10 @@ fn convert_entry_points_v1(external: &[CasmContractEntryPoint]) -> Vec builtin, None => { - BuiltinName::from_str_with_suffix(&builtin).expect("Unrecognized builtin.") + BuiltinName::from_str_with_suffix(builtin).expect("Unrecognized builtin.") } }) .collect(),