Skip to content

Commit

Permalink
chore: remove repetitive words (#7371)
Browse files Browse the repository at this point in the history
  • Loading branch information
onbjerg authored Mar 12, 2024
1 parent 7545c7a commit d75219c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/cast/bin/cmd/create2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ impl Create2Args {
#[allow(clippy::needless_borrows_for_generic_args)]
let addr = deployer.create2(&salt.0, init_code_hash);

// Check if the the regex matches the calculated address' checksum.
// Check if the regex matches the calculated address' checksum.
let _ = addr.to_checksum_raw(&mut checksum, None);
// SAFETY: stripping 2 ASCII bytes ("0x") off of an already valid UTF-8 string
// is safe.
Expand Down
2 changes: 1 addition & 1 deletion crates/fmt/src/string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ impl<'a> Iterator for QuoteStateCharIndices<'a> {
}
}

/// An iterator over the the indices of quoted string locations
/// An iterator over the indices of quoted string locations
pub struct QuotedRanges<'a>(QuoteStateCharIndices<'a>);

impl<'a> QuotedRanges<'a> {
Expand Down
2 changes: 1 addition & 1 deletion crates/script/src/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ pub mod wrapper {
pub cumulative_gas_used: U256,
/// Gas used by this transaction alone.
///
/// Gas used is `None` if the the client is running in light client mode.
/// Gas used is `None` if the client is running in light client mode.
#[serde(rename = "gasUsed")]
pub gas_used: Option<U256>,
/// Contract address created, or `None` if not a deployment.
Expand Down

0 comments on commit d75219c

Please sign in to comment.