diff --git a/ethers-providers/src/provider.rs b/ethers-providers/src/provider.rs index 15eae5fa..ec32b303 100644 --- a/ethers-providers/src/provider.rs +++ b/ethers-providers/src/provider.rs @@ -1133,7 +1133,7 @@ impl TryFrom for Provider { /// use ethers_core::utils::Ganache; /// use std::convert::TryFrom; /// -/// # #[tokio::main] +/// # #[tokio::main(flavor = "current_thread")] /// # async fn main() -> Result<(), Box> { /// let ganache = Ganache::new().spawn(); /// let provider = Provider::::try_from(ganache.endpoint()).unwrap();