Skip to content

Commit 63db5fa

Browse files
committed
Clippy
1 parent 192a896 commit 63db5fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/serde/deserialize_program.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ fn deserialize_scientific_notation(n: Number) -> Option<Felt252> {
192192
let base = Felt252::parse_bytes(list[0].to_string().as_bytes(), 10)?;
193193
Some(base * Felt252::from(10).pow(exponent))
194194
}
195-
Some(float) => Felt252::parse_bytes(&float.round().to_string().as_bytes(), 10),
195+
Some(float) => Felt252::parse_bytes(float.round().to_string().as_bytes(), 10),
196196
}
197197
}
198198

0 commit comments

Comments
 (0)