This commit is contained in:
DaniPopes 2023-03-25 02:27:03 +00:00 committed by GitHub
commit 43142ad1d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -621,7 +621,7 @@ mod tests {
fn serde_to_string_match() {
for chain in Chain::iter() {
let chain_serde = serde_json::to_string(&chain).unwrap();
let chain_string = format!("\"{}\"", chain.to_string());
let chain_string = format!("\"{}\"", chain);
assert_eq!(chain_serde, chain_string);
}
}

View File

@ -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;

View File

@ -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::*;