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

chore: fix some comments #2805

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-contract/ethers-contract-derive/src/abigen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ impl Parse for ContractArgs {

// abi
// TODO(nlordell): Due to limitation with the proc-macro Span API, we
// can't currently get a path the the file where we were called from;
// can't currently get a path the file where we were called from;
// therefore, the path will always be rooted on the cargo manifest
// directory. Eventually we can use the `Span::source_file` API to
// have a better experience.
Expand Down
2 changes: 1 addition & 1 deletion ethers-contract/ethers-contract-derive/src/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub(crate) fn derive_eth_event_impl(input: DeriveInput) -> Result<TokenStream> {
// elementary types in their abi because the parser
// doesn't know how to substitute the types.
// This could be mitigated by getting the ABI of each non elementary type
// at runtime and computing the the signature as a Lazy static.
// at runtime and computing the signature as a Lazy static.
match HumanReadableParser::parse_event(&abi) {
Ok(event) => Ok(event),
// Ignore parse_err since this is a valid [Source]
Expand Down
2 changes: 1 addition & 1 deletion ethers-core/src/utils/ganache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ impl Ganache {
}

/// Sets the startup timeout which will be used when the `ganache-cli` instance is launched in
/// miliseconds. 10_000 miliseconds by default).
/// milliseconds. 10_000 milliseconds by default).
pub fn startup_timeout_millis<T: Into<u64>>(mut self, timeout: T) -> Self {
self.startup_timeout = Some(timeout.into());
self
Expand Down
2 changes: 1 addition & 1 deletion ethers-solc/src/artifacts/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ impl CompactContract {
///
/// # Panics
///
/// Panics if any of the fields euqal `None`
/// Panics if any of the fields equal `None`
///
/// # Example
///
Expand Down