From bc80b7d3274fc91a6aa4c651a0a41fe39222a6b5 Mon Sep 17 00:00:00 2001 From: guanqun Date: Wed, 31 Mar 2021 16:21:20 +0800 Subject: [PATCH] chore(typo): fix two small typos (#249) --- ethers-providers/src/provider.rs | 2 +- ethers-providers/src/stream.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ethers-providers/src/provider.rs b/ethers-providers/src/provider.rs index 936f62b4..36e2de73 100644 --- a/ethers-providers/src/provider.rs +++ b/ethers-providers/src/provider.rs @@ -752,7 +752,7 @@ impl Provider { } } -/// infallbile conversion of Bytes to Address/String +/// infallible conversion of Bytes to Address/String /// /// # Panics /// diff --git a/ethers-providers/src/stream.rs b/ethers-providers/src/stream.rs index 48b6d4bb..1269400a 100644 --- a/ethers-providers/src/stream.rs +++ b/ethers-providers/src/stream.rs @@ -31,7 +31,7 @@ enum FilterWatcherState<'a, R> { #[must_use = "filters do nothing unless you stream them"] #[pin_project] -/// Streams data from an installed filter via `eth_getFilterCahnges` +/// Streams data from an installed filter via `eth_getFilterChanges` pub struct FilterWatcher<'a, P, R> { /// The filter's installed id on the ethereum node pub id: U256,