From 04d4e32b9aab3ece60b4c7deaaca489da6baf474 Mon Sep 17 00:00:00 2001 From: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Date: Sat, 25 Mar 2023 03:12:02 +0100 Subject: [PATCH] fix: ambiguous_glob_reexports rustc lint --- ethers-etherscan/src/lib.rs | 2 +- ethers/src/lib.rs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ethers-etherscan/src/lib.rs b/ethers-etherscan/src/lib.rs index 5577deb8..c1ea855e 100644 --- a/ethers-etherscan/src/lib.rs +++ b/ethers-etherscan/src/lib.rs @@ -24,7 +24,7 @@ pub mod contract; pub mod errors; pub mod gas; pub mod source_tree; -pub mod transaction; +mod transaction; pub mod utils; pub mod verify; diff --git a/ethers/src/lib.rs b/ethers/src/lib.rs index 0911b6f0..0efb95b7 100644 --- a/ethers/src/lib.rs +++ b/ethers/src/lib.rs @@ -106,8 +106,9 @@ pub use ethers_core::{abi, types, utils}; /// Easy imports of frequently used type definitions and traits. #[doc(hidden)] +#[allow(ambiguous_glob_reexports)] pub mod prelude { - pub use super::addressbook::*; + pub use super::addressbook::contract; pub use super::contract::*;