diff --git a/src/inner_product_proof.rs b/src/inner_product_proof.rs index 4e3f1013..52285650 100644 --- a/src/inner_product_proof.rs +++ b/src/inner_product_proof.rs @@ -3,8 +3,8 @@ extern crate alloc; -use alloc::vec::Vec; use alloc::borrow::Borrow; +use alloc::vec::Vec; use core::iter; use curve25519_dalek::ristretto::{CompressedRistretto, RistrettoPoint}; diff --git a/src/range_proof/mod.rs b/src/range_proof/mod.rs index 47b62f79..73522065 100644 --- a/src/range_proof/mod.rs +++ b/src/range_proof/mod.rs @@ -5,9 +5,9 @@ extern crate alloc; #[cfg(feature = "std")] extern crate rand; -use alloc::vec::Vec; #[cfg(feature = "std")] use self::rand::thread_rng; +use alloc::vec::Vec; use core::iter; diff --git a/src/range_proof/party.rs b/src/range_proof/party.rs index af5428e3..82b71049 100644 --- a/src/range_proof/party.rs +++ b/src/range_proof/party.rs @@ -13,11 +13,11 @@ extern crate alloc; use alloc::vec::Vec; +use clear_on_drop::clear::Clear; use core::iter; use curve25519_dalek::ristretto::{CompressedRistretto, RistrettoPoint}; use curve25519_dalek::scalar::Scalar; use curve25519_dalek::traits::MultiscalarMul; -use clear_on_drop::clear::Clear; use errors::MPCError; use generators::{BulletproofGens, PedersenGens}; use rand_core::{CryptoRng, RngCore};