Skip to content

Commit fb06dd5

Browse files
committed
fix: fmt
1 parent 9ab89e7 commit fb06dd5

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/classic/crypto_core.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -501,10 +501,9 @@ mod tests {
501501
"Torsion point should be rejected even with relaxed validation"
502502
);
503503

504-
let mixed_bytes =
505-
(curve25519_dalek::constants::ED25519_BASEPOINT_POINT + torsion_point)
506-
.compress()
507-
.to_bytes();
504+
let mixed_bytes = (curve25519_dalek::constants::ED25519_BASEPOINT_POINT + torsion_point)
505+
.compress()
506+
.to_bytes();
508507
assert!(
509508
!crypto_core_ed25519_is_valid_point(&mixed_bytes),
510509
"Mixed-order point should be rejected"

0 commit comments

Comments
 (0)