From 885aa9c9671b2d223c3ad577a29b4d846a755eef Mon Sep 17 00:00:00 2001 From: wolflo <33909953+wolflo@users.noreply.github.com> Date: Wed, 2 Feb 2022 10:20:01 -0700 Subject: [PATCH] fix(providers): doc test for dev_rpc (#857) --- ethers-providers/src/provider.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();