Skip to content

Commit 665c098

Browse files
authored
chore: remove redundant words in comment (#10354)
Signed-off-by: NinaLua <iturf@sina.cn>
1 parent d8f1f60 commit 665c098

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

cranelift/codegen/src/machinst/abi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1173,7 +1173,7 @@ impl<M: ABIMachineSpec> Callee<M> {
11731173
let start_offset = checked_round_up(unaligned_start_offset, mask)
11741174
.ok_or(CodegenError::ImplLimitExceeded)?;
11751175

1176-
// The end offset is the the start offset increased by the size
1176+
// The end offset is the start offset increased by the size
11771177
end_offset = start_offset
11781178
.checked_add(data.size)
11791179
.ok_or(CodegenError::ImplLimitExceeded)?;

crates/c-api/include/doc-wasm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@
220220
* vector should not be previously initialized and the caller is responsible for
221221
* calling #wasm_byte_vec_delete after this function returns.
222222
*
223-
* Note that memory of the the initialization vector provided to this function
223+
* Note that memory of the initialization vector provided to this function
224224
* must be managed externally. This function will copy the contents to the
225225
* output vector, but it's up to the caller to properly deallocate the memory.
226226
*

crates/environ/src/fact/trampoline.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ impl<'a, 'b> Compiler<'a, 'b> {
438438
i32::try_from(self.types[adapter.lift.ty].results.as_u32()).unwrap(),
439439
));
440440
// Async-lowered imports pass params and receive results via linear
441-
// memory, and those pointers are in the the first and second params to
441+
// memory, and those pointers are in the first and second params to
442442
// this adapter. We pass them on to the host so it can store them in
443443
// the subtask for later use.
444444
self.instruction(LocalGet(0));

crates/wasmtime/src/runtime/vm/gc/gc_runtime.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ pub unsafe trait GcHeap: 'static + Send + Sync {
454454
start..end
455455
}
456456

457-
/// Get a mutable borrow of the the given object's data.
457+
/// Get a mutable borrow of the given object's data.
458458
///
459459
/// # Panics
460460
///

winch/codegen/src/isa/aarch64/masm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ impl Masm for MacroAssembler {
181181
self.asm
182182
.add_ir(bytes as u64, ssp, writable!(ssp), OperandSize::S64);
183183

184-
// We must ensure that the real stack pointer reflects the the offset
184+
// We must ensure that the real stack pointer reflects the offset
185185
// tracked by `self.sp_offset`, we use such value to calculate
186186
// alignment, which is crucial for calls.
187187
//

winch/codegen/src/masm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2110,7 +2110,7 @@ pub(crate) trait MacroAssembler {
21102110
fn v128_neg(&mut self, op: WritableReg, kind: V128NegKind) -> Result<()>;
21112111

21122112
/// Perform the shift operation specified by `kind`, by the shift amount specified by the 32-bit
2113-
/// integer at the top the the stack, on the 128-bit vector specified by the second value
2113+
/// integer at the top of the stack, on the 128-bit vector specified by the second value
21142114
/// from the top of the stack, interpreted as packed integers of size `lane_width`.
21152115
///
21162116
/// The shift amount is taken modulo `lane_width`.

0 commit comments

Comments
 (0)