Skip to content

Commit

Permalink
clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
enitrat committed Dec 3, 2024
1 parent 4b23bbe commit d460c87
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions crates/blockifier/src/execution/contract_class.rs
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ impl TryInto<CasmContractClass> for &CompiledClassV1 {
.builtins
.clone()
.into_iter()
.map(|x| x.to_string().into())
.map(|x| x.to_string())
.collect(),
})
.collect();
Expand All @@ -528,7 +528,7 @@ impl TryInto<CasmContractClass> for &CompiledClassV1 {
.builtins
.clone()
.into_iter()
.map(|x| x.to_string().into())
.map(|x| x.to_string())
.collect(),
})
.collect();
Expand All @@ -545,7 +545,7 @@ impl TryInto<CasmContractClass> for &CompiledClassV1 {
.builtins
.clone()
.into_iter()
.map(|x| x.to_string().into())
.map(|x| x.to_string())
.collect(),
})
.collect();
Expand Down Expand Up @@ -682,10 +682,10 @@ fn convert_entry_points_v1(external: &[CasmContractEntryPoint]) -> Vec<EntryPoin
builtins: ep
.builtins
.iter()
.map(|builtin| match BuiltinName::from_str(&builtin) {
.map(|builtin| match BuiltinName::from_str(builtin) {
Some(builtin) => builtin,
None => {
BuiltinName::from_str_with_suffix(&builtin).expect("Unrecognized builtin.")
BuiltinName::from_str_with_suffix(builtin).expect("Unrecognized builtin.")
}
})
.collect(),
Expand Down

0 comments on commit d460c87

Please sign in to comment.