A lightweight WebAssembly runtime that is fast, secure, and standards-compliant
chore: fix some minor issues in the comments (#11742)
juejinyuxitu36a5339d5a4a
diff --git a/cranelift/assembler-x64/src/rex.rs b/cranelift/assembler-x64/src/rex.rsindex 26ad454361..07741ea776 100644--- a/cranelift/assembler-x64/src/rex.rs+++ b/cranelift/assembler-x64/src/rex.rs@@ -30,7 +30,7 @@ pub(crate) fn encode_sib(scale: u8, enc_index: u8, enc_base: u8) -> u8 {/// This function is used below in combination with `uses_8bit` booleans to/// determine the `RexPrefix::must_emit` flag. Table 3-2 in volume 1 of the/// Intel manual details how referencing `dil`, the low 8-bits of `rdi`,-/// requires the use of the REX prefix as without it it would otherwise+/// requires the use of the REX prefix as without it, it would otherwise/// reference the `AH` register.////// This is used whenever a register is encoded with a `RexPrefix` and is alsodiff --git a/crates/fiber/src/stackswitch.rs b/crates/fiber/src/stackswitch.rsindex d030536d5f..efaa119282 100644--- a/crates/fiber/src/stackswitch.rs+++ b/crates/fiber/src/stackswitch.rs@@ -39,7 +39,7 @@ cfg_if::cfg_if! {}/// A helper module to get reeported above in each case that we actually have-/// stack-switching routines available in in line asm. The fall-through case+/// stack-switching routines available in inline asm. The fall-through case/// though reexports the `unsupported` module instead.#[allow(dead_code,diff --git a/crates/test-programs/src/bin/async_readiness.rs b/crates/test-programs/src/bin/async_readiness.rsindex 23a74e8580..498e0b14be 100644--- a/crates/test-programs/src/bin/async_readiness.rs+++ b/crates/test-programs/src/bin/async_readiness.rs@@ -187,7 +187,7 @@ unsafe extern "C" fn callback_start(event0: u32, event1: u32, event2: u32) -> u3// The writer is ready now, so this read should not block.//- // As noted above, we we rely on the writer sending us all the+ // As noted above, we rely on the writer sending us all the// expected bytes at once.let received = &mut vec![0_u8; expected.len()];let status = stream_read(rx, received.as_mut_ptr(), received.len());@@ -214,7 +214,7 @@ unsafe extern "C" fn callback_start(event0: u32, event1: u32, event2: u32) -> u3// The reader is ready now, so this write should not block.//- // As noted above, we we rely on the reader accepting all the+ // As noted above, we rely on the reader accepting all the// expected bytes at once.let status = stream_write(tx, BYTES_TO_WRITE.as_ptr(), BYTES_TO_WRITE.len());assert_eq!(