diff --git a/ethers-providers/src/middleware.rs b/ethers-providers/src/middleware.rs index a6afb6b81..efc2ff38c 100644 --- a/ethers-providers/src/middleware.rs +++ b/ethers-providers/src/middleware.rs @@ -263,7 +263,7 @@ pub trait Middleware: Sync + Send + Debug { self.inner().resolve_avatar(ens_name).await.map_err(MiddlewareError::from_err) } - /// Returns the URL (not necesserily HTTP) of the image behind a token. + /// Returns the URL (not necessarily HTTP) of the image behind a token. /// /// # Example /// ```no_run diff --git a/ethers-providers/src/rpc/transports/ws/mod.rs b/ethers-providers/src/rpc/transports/ws/mod.rs index b628319fd..b18cd9613 100644 --- a/ethers-providers/src/rpc/transports/ws/mod.rs +++ b/ethers-providers/src/rpc/transports/ws/mod.rs @@ -64,7 +64,7 @@ impl WsClient { #[cfg(not(target_arch = "wasm32"))] /// Establishes a new websocket connection with auto-reconnects. This method allows specifying a - /// custom websocket configuration, see the [tungstenite docs](https://docs.rs/tungstenite/latest/tungstenite/protocol/struct.WebSocketConfig.html) for all avaible options. + /// custom websocket configuration, see the [tungstenite docs](https://docs.rs/tungstenite/latest/tungstenite/protocol/struct.WebSocketConfig.html) for all available options. pub async fn connect_with_config_and_reconnects( conn: impl Into, config: impl Into, diff --git a/ethers-providers/src/toolbox/call_raw.rs b/ethers-providers/src/toolbox/call_raw.rs index 97d3e6601..80fe50132 100644 --- a/ethers-providers/src/toolbox/call_raw.rs +++ b/ethers-providers/src/toolbox/call_raw.rs @@ -290,7 +290,7 @@ mod tests { let call = provider.call_raw(&tx).state(&state); test_encode(call); - // State override with an empty acccount should be encoded as "0xab..": {} + // State override with an empty account should be encoded as "0xab..": {} let mut state = spoof::state(); state.account(adr1); let call = provider.call_raw(&tx).state(&state);