Use secp crate directly without extra use statement (#1738)

This commit is contained in:
RJ Rybarczyk 2018-10-14 20:40:15 +08:00 committed by Gary Yu
parent 6f4eb8dd2e
commit 80d28f94ea
2 changed files with 2 additions and 3 deletions

View file

@ -40,8 +40,7 @@ extern crate walkdir;
extern crate zip as zip_rs;
// Re-export so only has to be included once
pub extern crate secp256k1zkp as secp_;
pub use secp_ as secp;
pub extern crate secp256k1zkp as secp;
// Logging related
pub mod logger;

View file

@ -16,7 +16,7 @@
//! initialization overhead
use rand::thread_rng;
use secp_ as secp;
use secp;
use std::sync::{Arc, Mutex};
lazy_static! {