fix(providers): doc test for dev_rpc (#857)
This commit is contained in:
parent
d56e34c512
commit
885aa9c967
|
@ -1133,7 +1133,7 @@ impl TryFrom<String> for Provider<HttpProvider> {
|
|||
/// use ethers_core::utils::Ganache;
|
||||
/// use std::convert::TryFrom;
|
||||
///
|
||||
/// # #[tokio::main]
|
||||
/// # #[tokio::main(flavor = "current_thread")]
|
||||
/// # async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
/// let ganache = Ganache::new().spawn();
|
||||
/// let provider = Provider::<Http>::try_from(ganache.endpoint()).unwrap();
|
||||
|
|
Loading…
Reference in New Issue