Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
jotabulacios committed Dec 5, 2024
1 parent d0fe76e commit 0045ec8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions math/src/field/fields/fft_friendly/babybear_u32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ mod tests {
#[test]
fn inv_2_mul_2_is_1() {
let a: FE = FE::from(2);
assert_eq!(&a * a.inv().unwrap(), FE::from(1));
assert_eq!(a * a.inv().unwrap(), FE::from(1));
}

#[test]
Expand Down Expand Up @@ -155,7 +155,7 @@ mod tests {
fn two_plus_its_additive_inv_is_0() {
let two = FE::from(2);

assert_eq!(&two + (-&two), FE::from(0))
assert_eq!(two + (-&two), FE::from(0))
}

#[test]
Expand Down

0 comments on commit 0045ec8

Please sign in to comment.