Skip to content
This repository has been archived by the owner on Jan 16, 2025. It is now read-only.

Commit

Permalink
Rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
CPerezz committed Nov 4, 2020
1 parent f78e3ed commit 29ff557
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/spend/public.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ use crate::{
decode::decode, Error, JubJubAffine, JubJubExtended, JubJubScalar,
};

use dusk_jubjub::GENERATOR_EXTENDED;
use std::convert::TryFrom;
use std::fmt;
use subtle::{Choice, ConstantTimeEq};
#[cfg(feature = "canon")]
use canonical::Canon;
#[cfg(feature = "canon")]
use canonical_derive::Canon;
use dusk_jubjub::GENERATOR_EXTENDED;
use std::convert::TryFrom;
use std::fmt;
use subtle::{Choice, ConstantTimeEq};

/// Public pair of `a·G` and `b·G`
#[derive(Debug, Clone, Copy)]
Expand Down
8 changes: 4 additions & 4 deletions src/spend/secret.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ use dusk_jubjub::GENERATOR_EXTENDED;

use std::fmt;

use rand::rngs::StdRng;
use rand::SeedableRng;
use rand::{CryptoRng, RngCore};
use sha2::{Digest, Sha256};
#[cfg(feature = "canon")]
use canonical::Canon;
#[cfg(feature = "canon")]
use canonical_derive::Canon;
use rand::rngs::StdRng;
use rand::SeedableRng;
use rand::{CryptoRng, RngCore};
use sha2::{Digest, Sha256};

/// Secret pair of `a` and `b`
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
Expand Down

0 comments on commit 29ff557

Please sign in to comment.