Skip to content

Commit 58a853d

Browse files
committed
Rustfmt: retain some manual formatting
1 parent 14e05d4 commit 58a853d

File tree

2 files changed

+149
-99
lines changed

2 files changed

+149
-99
lines changed

curve25519-dalek/src/backend/vector/neon/edwards.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,7 @@ impl<'a> From<&'a edwards::EdwardsPoint> for NafLookupTable8<CachedPoint> {
320320
mod test {
321321
use super::*;
322322

323+
#[rustfmt::skip] // Skip S8..S11 formatting
323324
fn serial_add(P: edwards::EdwardsPoint, Q: edwards::EdwardsPoint) -> edwards::EdwardsPoint {
324325
use crate::backend::serial::u64::field::FieldElement51;
325326

@@ -516,10 +517,11 @@ mod test {
516517

517518
#[test]
518519
fn basepoint_odd_lookup_table_verify() {
519-
use crate::constants;
520520
use crate::backend::vector::neon::constants::BASEPOINT_ODD_LOOKUP_TABLE;
521+
use crate::constants;
521522

522-
let basepoint_odd_table = NafLookupTable8::<CachedPoint>::from(&constants::ED25519_BASEPOINT_POINT);
523+
let basepoint_odd_table =
524+
NafLookupTable8::<CachedPoint>::from(&constants::ED25519_BASEPOINT_POINT);
523525
println!("Testing basepoint table");
524526

525527
let table_B = &BASEPOINT_ODD_LOOKUP_TABLE;

0 commit comments

Comments
 (0)