Skip to content

Commit

Permalink
rm dead imports
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-ozdemir committed Apr 24, 2024
1 parent 0585b9d commit b365e01
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/hash/hashes/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ use sapling_crypto::poseidon::{
QuinticSBox,
};

use std::default::Default;
use std::marker::PhantomData;
use std::sync::Arc;

Expand Down
2 changes: 0 additions & 2 deletions src/hash/pocklington/entropy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ use mp::bignat::BigNat;
use util::bit::{Bit, Bitvector};
use util::gadget::Gadget;

use std::default::Default;

#[derive(Debug)]
pub struct NatTemplate {
pub random_bits: usize,
Expand Down
1 change: 0 additions & 1 deletion src/mp/bignat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ use sapling_crypto::circuit::boolean::Boolean;

use std::borrow::Borrow;
use std::cmp::{max, min, Ordering};
use std::convert::From;
use std::fmt::{self, Debug, Display, Formatter};
use std::rc::Rc;

Expand Down
1 change: 0 additions & 1 deletion src/rollup/tx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ pub mod circuit {
use sapling_crypto::circuit::ecc::EdwardsPoint;
use sapling_crypto::circuit::num::AllocatedNum;
use sapling_crypto::jubjub::JubjubEngine;
use std::clone::Clone;
use std::sync::Arc;

use super::{Action, SignedTx};
Expand Down
2 changes: 0 additions & 2 deletions src/util/num.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ use sapling_crypto::bellman::pairing::Engine;
use sapling_crypto::bellman::{ConstraintSystem, LinearCombination, SynthesisError, Variable};
use sapling_crypto::circuit::num::AllocatedNum;

use std::convert::From;

use super::bit::{Bit, Bitvector};
use super::convert::f_to_nat;
use super::convert::nat_to_f;
Expand Down

0 comments on commit b365e01

Please sign in to comment.