Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
asterite committed Jun 28, 2024
1 parent 55e2094 commit a099db1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/noirc_frontend/src/utils.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
use acvm::{AcirField, FieldElement};
use num_bigint::{BigInt, BigUint, Sign};
use num_traits::Signed;
use num_traits::ToPrimitive;

pub fn big_int_to_field_element(big_int: &BigInt) -> FieldElement {
let big_uint = big_int.magnitude();
Expand All @@ -26,6 +25,7 @@ pub fn truncate_big_int_to_u128(big_int: &BigInt) -> u128 {
#[cfg(test)]
mod tests {
use num_traits::Num;
use num_traits::ToPrimitive;

use super::*;

Expand Down

0 comments on commit a099db1

Please sign in to comment.