Skip to content

Commit 33b6e50

Browse files
committed
fix lint
1 parent e46bf85 commit 33b6e50

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

crypto/math/src/field/extensions_goldilocks.rs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,17 @@ impl HasDefaultTranscript for Degree3GoldilocksExtensionField {
556556
}
557557
}
558558

559+
// =====================================================
560+
// HELPER FUNCTIONS
561+
// =====================================================
562+
563+
/// Multiply a field element by 7 (the quadratic non-residue).
564+
/// Wraps the raw u64 implementation for use with FieldElement types.
565+
#[inline(always)]
566+
fn mul_by_7(a: &FpE) -> FpE {
567+
FpE::from_raw(mul_by_7_raw(*a.value()))
568+
}
569+
559570
#[cfg(test)]
560571
mod tests {
561572
use super::*;
@@ -579,14 +590,3 @@ mod tests {
579590
}
580591
}
581592
}
582-
583-
// =====================================================
584-
// HELPER FUNCTIONS
585-
// =====================================================
586-
587-
/// Multiply a field element by 7 (the quadratic non-residue).
588-
/// Wraps the raw u64 implementation for use with FieldElement types.
589-
#[inline(always)]
590-
fn mul_by_7(a: &FpE) -> FpE {
591-
FpE::from_raw(mul_by_7_raw(*a.value()))
592-
}

0 commit comments

Comments
 (0)