fix doctest

This commit is contained in:
AlexK 2022-03-07 10:01:15 +04:00
parent 4cb05fd6bb
commit 061695a2ab
1 changed files with 1 additions and 1 deletions

View File

@ -425,7 +425,7 @@ impl Solc {
/// # fn main() -> Result<(), Box<dyn std::error::Error>> {
/// use ethers_solc::{CompilerInput, Solc};
/// let solc = Solc::default();
/// let input = CompilerInput::new("./contracts")?;
/// let input = CompilerInput::new("./contracts")?[0].clone();
/// let output = solc.compile_exact(&input)?;
/// # Ok(())
/// # }