From 641e64d2a366fb4a07299a1ff4592ef6a4a0d3a8 Mon Sep 17 00:00:00 2001 From: NftCryptoHunter Date: Wed, 2 Jul 2025 14:10:07 +0800 Subject: [PATCH] chore: Fix typos --- .../stdarch/crates/stdarch-gen-arm/src/load_store_tests.rs | 4 ++-- library/stdarch/crates/stdarch-verify/tests/arm.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/library/stdarch/crates/stdarch-gen-arm/src/load_store_tests.rs b/library/stdarch/crates/stdarch-gen-arm/src/load_store_tests.rs index 5cf39b2e11aed..97fbc86a7a33c 100644 --- a/library/stdarch/crates/stdarch-gen-arm/src/load_store_tests.rs +++ b/library/stdarch/crates/stdarch-gen-arm/src/load_store_tests.rs @@ -78,7 +78,7 @@ pub fn generate_load_store_tests( assert!( used_stores.into_iter().all(|b| b), - "Not all store tests have been paired with a load. Consider generating specifc store-only tests" + "Not all store tests have been paired with a load. Consider generating specific store-only tests" ); let preamble = @@ -119,7 +119,7 @@ pub fn generate_load_store_tests( /// let loaded == load_intrinsic([true_predicate], storage.as_ptr()) /// assert!(loaded == data); /// ``` -/// We intialise our data such that the value stored matches the index it's stored to. +/// We initialise our data such that the value stored matches the index it's stored to. /// By doing this we can validate scatters by checking that each value in the storage /// array is either 0 or the same as its index. fn generate_single_test( diff --git a/library/stdarch/crates/stdarch-verify/tests/arm.rs b/library/stdarch/crates/stdarch-verify/tests/arm.rs index a35b8175fb223..20a494c0be9fc 100644 --- a/library/stdarch/crates/stdarch-verify/tests/arm.rs +++ b/library/stdarch/crates/stdarch-verify/tests/arm.rs @@ -503,7 +503,7 @@ fn matches(rust: &Function, arm: &Intrinsic) -> Result<(), String> { // TODO: This instruction checking logic needs work to handle multiple instructions and to only // look at aarch64 insructions. // The ACLE's listed instructions are a guideline only and compilers have the freedom to use - // different instructions in dfferent cases which makes this an unreliable testing method. It + // different instructions in different cases which makes this an unreliable testing method. It // is of questionable value given the intrinsic test tool. { for instr in rust.instrs {