From 64eaacff7d360f1e49e59dff48bee43f4c35d991 Mon Sep 17 00:00:00 2001 From: jotabulacios Date: Thu, 5 Dec 2024 14:54:46 -0300 Subject: [PATCH] fix clippy metal --- math/src/field/fields/fft_friendly/babybear_u32.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/math/src/field/fields/fft_friendly/babybear_u32.rs b/math/src/field/fields/fft_friendly/babybear_u32.rs index a7ff2954e..5338674c6 100644 --- a/math/src/field/fields/fft_friendly/babybear_u32.rs +++ b/math/src/field/fields/fft_friendly/babybear_u32.rs @@ -26,7 +26,6 @@ impl IsFFTField for Babybear31PrimeField { #[cfg(test)] mod tests { use super::*; - mod test_babybear_31_ops { use super::*; use crate::{ @@ -268,7 +267,6 @@ mod tests { use crate::fft::cpu::roots_of_unity::{ get_powers_of_primitive_root, get_powers_of_primitive_root_coset, }; - #[cfg(not(any(feature = "metal", feature = "cuda")))] use crate::field::element::FieldElement; #[cfg(not(any(feature = "metal", feature = "cuda")))] use crate::field::traits::{IsFFTField, RootsConfig};