Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaker committed Oct 22, 2024
1 parent 443dcda commit e6ee13f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
4 changes: 1 addition & 3 deletions nimue-pow/src/blake3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,7 @@ impl Blake3PoW {

#[test]
fn test_pow_blake3() {
use crate::{
ByteIOPattern, IOPattern, PoWIOPattern, ByteReader, ByteWriter, PoWChallenge
};
use crate::{ByteIOPattern, ByteReader, ByteWriter, IOPattern, PoWChallenge, PoWIOPattern};

const BITS: f64 = 10.0;

Expand Down
4 changes: 1 addition & 3 deletions nimue-pow/src/keccak.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ impl PowStrategy for KeccakPoW {

#[test]
fn test_pow_keccak() {
use crate::{
ByteIOPattern, ByteReader, ByteWriter, IOPattern, PoWIOPattern, PoWChallenge
};
use crate::{ByteIOPattern, ByteReader, ByteWriter, IOPattern, PoWChallenge, PoWIOPattern};

const BITS: f64 = 10.0;

Expand Down
4 changes: 2 additions & 2 deletions nimue/src/plugins/ark/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ fn test_arkworks_end_to_end<F: Field, H: DuplexHash>() -> ProofResult<()> {

#[test]
fn test_squeeze_bytes_from_modp() {
use ark_bls12_381::{Fr, Fq};
use ark_bls12_381::{Fq, Fr};
use ark_ff::PrimeField;

use crate::plugins::random_bytes_in_random_modp;
Expand All @@ -90,7 +90,7 @@ fn test_squeeze_bytes_from_modp() {

#[test]
fn test_arkworks() {
use ark_bls12_381::{Fr, Fq2};
use ark_bls12_381::{Fq2, Fr};
type F = Fr;
type F2 = Fq2;

Expand Down

0 comments on commit e6ee13f

Please sign in to comment.