Skip to content

Commit 8c5f819

Browse files
committed
Fix clippy
1 parent 61672ca commit 8c5f819

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vm/src/hint_processor/builtin_hint_processor/builtin_hint_processor_definition.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ impl HintProcessorLogic for BuiltinHintProcessor {
250250
) -> Result<Box<dyn Any>, crate::vm::errors::vm_errors::VirtualMachineError> {
251251
let ids_data = get_ids_data(reference_ids, references)?;
252252

253-
if self.extra_hints.get(hint_code).is_some() {
253+
if self.extra_hints.contains_key(hint_code) {
254254
// TODO: This is to handle the extra_hints. Handle this case nicely
255255
return Ok(any_box!(HintProcessorData {
256256
code: hint_code.to_string(),

0 commit comments

Comments
 (0)