From a1096f87056cd097d4891a6abefad28c7c3ae1ff Mon Sep 17 00:00:00 2001 From: Georgios Konstantopoulos Date: Thu, 11 Jun 2020 12:16:36 +0300 Subject: [PATCH] chore(abigen): fix doctest --- ethers-contract/ethers-contract-abigen/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/ethers-contract/ethers-contract-abigen/src/lib.rs b/ethers-contract/ethers-contract-abigen/src/lib.rs index 90d3320b..929ed8c0 100644 --- a/ethers-contract/ethers-contract-abigen/src/lib.rs +++ b/ethers-contract/ethers-contract-abigen/src/lib.rs @@ -35,6 +35,7 @@ use std::{collections::HashMap, fs::File, io::Write, path::Path}; /// bindings inside, which exports an `ERC20Token` struct, along with all its events. /// /// ```no_run +/// # use ethers_contract_abigen::Abigen; /// # fn foo() -> Result<(), Box> { /// Abigen::new("ERC20Token", "./abi.json")?.generate()?.write_to_file("token.rs")?; /// # Ok(())