Skip to content

Commit d75219c

Browse files
authored
chore: remove repetitive words (#7371)
1 parent 7545c7a commit d75219c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

crates/cast/bin/cmd/create2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ impl Create2Args {
203203
#[allow(clippy::needless_borrows_for_generic_args)]
204204
let addr = deployer.create2(&salt.0, init_code_hash);
205205

206-
// Check if the the regex matches the calculated address' checksum.
206+
// Check if the regex matches the calculated address' checksum.
207207
let _ = addr.to_checksum_raw(&mut checksum, None);
208208
// SAFETY: stripping 2 ASCII bytes ("0x") off of an already valid UTF-8 string
209209
// is safe.

crates/fmt/src/string.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ impl<'a> Iterator for QuoteStateCharIndices<'a> {
6565
}
6666
}
6767

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

7171
impl<'a> QuotedRanges<'a> {

crates/script/src/transaction.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ pub mod wrapper {
397397
pub cumulative_gas_used: U256,
398398
/// Gas used by this transaction alone.
399399
///
400-
/// Gas used is `None` if the the client is running in light client mode.
400+
/// Gas used is `None` if the client is running in light client mode.
401401
#[serde(rename = "gasUsed")]
402402
pub gas_used: Option<U256>,
403403
/// Contract address created, or `None` if not a deployment.

0 commit comments

Comments
 (0)