Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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.
Jump to
Jump to file
Failed to load files.
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