From 415e3554f9c5952edb809217db9d5e718717d391 Mon Sep 17 00:00:00 2001 From: Joey Yandle Date: Mon, 12 Aug 2019 12:34:57 -0700 Subject: [PATCH] fmt fixes --- src/inner_product_proof.rs | 2 +- src/range_proof/mod.rs | 2 +- src/range_proof/party.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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};