From b251c6112a60544bd23c051e6ce1288052a10293 Mon Sep 17 00:00:00 2001 From: Mira Sato <275437409+oab24413gmai@users.noreply.github.com> Date: Thu, 14 May 2026 04:30:01 +0000 Subject: [PATCH] fix: duplicated words in wasm-mutate and wasm-smith comments --- crates/wasm-mutate/src/mutators.rs | 2 +- crates/wasm-smith/src/core/code_builder/no_traps.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/wasm-mutate/src/mutators.rs b/crates/wasm-mutate/src/mutators.rs index 621ca2c2aa..b7e503f584 100644 --- a/crates/wasm-mutate/src/mutators.rs +++ b/crates/wasm-mutate/src/mutators.rs @@ -50,7 +50,7 @@ use wasmparser::Operator; /// A mutation that can be applied to a Wasm module to produce a new, mutated /// Wasm module. pub trait Mutator { - /// Can this `Mutator` *probably* be applied to the the given Wasm and + /// Can this `Mutator` *probably* be applied to the given Wasm and /// configuration? /// /// When checking Wasm applicability, these checks should be implemented as diff --git a/crates/wasm-smith/src/core/code_builder/no_traps.rs b/crates/wasm-smith/src/core/code_builder/no_traps.rs index 711462f961..f8f2b7e213 100644 --- a/crates/wasm-smith/src/core/code_builder/no_traps.rs +++ b/crates/wasm-smith/src/core/code_builder/no_traps.rs @@ -457,7 +457,7 @@ fn min_input_const_for_trunc<'a>(inst: &Instruction) -> Instruction<'a> { let min_f64 = -9_223_372_036_854_775_000f64; let min_f32 = -9_223_372_000_000_000_000f32; - // This is the minimum float value that is representable as as i32 + // This is the minimum float value that is representable as i32 let min_f32_as_i32 = -2_147_483_500f32; match inst { Instruction::I32TruncF32S => Instruction::F32Const(min_f32_as_i32.into()),