Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

chore: fix typos #2776

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ethers-providers/src/middleware.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ethers-providers/src/rpc/transports/ws/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<ConnectionDetails>,
config: impl Into<WebSocketConfig>,
Expand Down
2 changes: 1 addition & 1 deletion ethers-providers/src/toolbox/call_raw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Loading