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

fix typos #2651

Merged
merged 1 commit into from
Oct 26, 2023
Merged
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 book/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
- [Watch blocks](./subscriptions/watch-blocks.md)
- [Subscribe events by type](./subscriptions/events-by-type.md)
- [Subscribe logs](./subscriptions/logs.md)
- [Mulitple subscriptions](./subscriptions/multiple-subscriptions.md)
- [Multiple subscriptions](./subscriptions/multiple-subscriptions.md)
- [Queries]()
- [Blocks]()
- [Contracts]()
Expand Down
2 changes: 1 addition & 1 deletion book/subscriptions/multiple-subscriptions.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Mulitple Multiple Subscriptions
# Multiple Subscriptions

You may need to handle multiple subscriptions simultaneously in your application. To manage multiple SubscriptionStreams, you can use the futures crate to efficiently process updates from all streams concurrently:

Expand Down
2 changes: 1 addition & 1 deletion ethers-providers/src/toolbox/pending_escalator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ where

match this.state {
// In the initial state we're simply waiting on the first
// transaction braodcast to complete.
// transaction broadcast to complete.
Initial(fut) => {
poll_broadcast_fut!(cx, this, fut);
}
Expand Down
2 changes: 1 addition & 1 deletion ethers-solc/src/compile/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ pub struct Solc {
pub solc: PathBuf,
/// The base path to set when invoking solc, see also <https://docs.soliditylang.org/en/v0.8.11/path-resolution.html#base-path-and-include-paths>
pub base_path: Option<PathBuf>,
/// Additional arguments passed to the `solc` exectuable
/// Additional arguments passed to the `solc` executable
pub args: Vec<String>,
}

Expand Down
2 changes: 1 addition & 1 deletion ethers-solc/src/remappings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ impl RelativeRemappingPathBuf {
&self.path
}

/// Returns this path relative to the file it was delcared in, if any.
/// Returns this path relative to the file it was declared in, if any.
/// Returns the original if this path was not declared in a file or if the
/// path has a root.
pub fn relative(&self) -> PathBuf {
Expand Down
4 changes: 2 additions & 2 deletions examples/transactions/examples/remove_liquidity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ async fn example() -> Result<()> {
println!("Approving the transaction!");
let receipt =
pair.approve(router.address(), liquidity).send().await?.await?.expect("no receipt found");
println!("contract approved succesfully!");
println!("contract approved successfully!");
println!("{receipt:?}");

println!("Removing {liquidity} liquidity!");
Expand All @@ -90,7 +90,7 @@ async fn example() -> Result<()> {
.await?
.await?
.expect("no receipt for remove_liquidity");
println!("liquidity removed succesfully!");
println!("liquidity removed successfully!");
println!("{receipt:?}");

Ok(())
Expand Down
Loading