From 69e0ff73017347ee15727d8ed60cafd4c41a0201 Mon Sep 17 00:00:00 2001 From: Akram Hussein Date: Fri, 30 Dec 2022 09:44:03 -0300 Subject: [PATCH] fix: doc typo regarding Multicall::call_array (#1985) --- ethers-contract/src/multicall/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethers-contract/src/multicall/mod.rs b/ethers-contract/src/multicall/mod.rs index 56dca427..0b5bc56f 100644 --- a/ethers-contract/src/multicall/mod.rs +++ b/ethers-contract/src/multicall/mod.rs @@ -661,7 +661,7 @@ impl Multicall { /// # /// # let multicall = Multicall::new(client, None).await?; /// // If the all Solidity function calls `returns (uint256)`: - /// let result: Vec = multicall.call().await?; + /// let result: Vec = multicall.call_array().await?; /// # Ok(()) /// # } /// ```