From 80d28f94eafabd4f4a2e7a8a54d0d5da9a353c05 Mon Sep 17 00:00:00 2001 From: RJ Rybarczyk Date: Sun, 14 Oct 2018 20:40:15 +0800 Subject: [PATCH] Use secp crate directly without extra use statement (#1738) --- util/src/lib.rs | 3 +-- util/src/secp_static.rs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/util/src/lib.rs b/util/src/lib.rs index 9fd57f094..d8d72178d 100644 --- a/util/src/lib.rs +++ b/util/src/lib.rs @@ -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; diff --git a/util/src/secp_static.rs b/util/src/secp_static.rs index 283356939..15ec622c0 100644 --- a/util/src/secp_static.rs +++ b/util/src/secp_static.rs @@ -16,7 +16,7 @@ //! initialization overhead use rand::thread_rng; -use secp_ as secp; +use secp; use std::sync::{Arc, Mutex}; lazy_static! {