Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
fmkra committed Oct 25, 2024
1 parent fa2492f commit 4839d33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cairo_vm_hints/src/hints/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub fn run_hint(
constants: &HashMap<String, Felt252>,
) -> Result<(), HintError> {
for (hint_str, hint_func) in HINTS {
if hint_data.code == hint_str.to_string() {
if hint_data.code == *hint_str {
return hint_func(vm, exec_scope, hint_data, constants);
}
}
Expand Down

0 comments on commit 4839d33

Please sign in to comment.