Skip to content

Commit 641e64d

Browse files
chore: Fix typos
1 parent f51c987 commit 641e64d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

library/stdarch/crates/stdarch-gen-arm/src/load_store_tests.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ pub fn generate_load_store_tests(
7878

7979
assert!(
8080
used_stores.into_iter().all(|b| b),
81-
"Not all store tests have been paired with a load. Consider generating specifc store-only tests"
81+
"Not all store tests have been paired with a load. Consider generating specific store-only tests"
8282
);
8383

8484
let preamble =
@@ -119,7 +119,7 @@ pub fn generate_load_store_tests(
119119
/// let loaded == load_intrinsic([true_predicate], storage.as_ptr())
120120
/// assert!(loaded == data);
121121
/// ```
122-
/// We intialise our data such that the value stored matches the index it's stored to.
122+
/// We initialise our data such that the value stored matches the index it's stored to.
123123
/// By doing this we can validate scatters by checking that each value in the storage
124124
/// array is either 0 or the same as its index.
125125
fn generate_single_test(

library/stdarch/crates/stdarch-verify/tests/arm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ fn matches(rust: &Function, arm: &Intrinsic) -> Result<(), String> {
503503
// TODO: This instruction checking logic needs work to handle multiple instructions and to only
504504
// look at aarch64 insructions.
505505
// The ACLE's listed instructions are a guideline only and compilers have the freedom to use
506-
// different instructions in dfferent cases which makes this an unreliable testing method. It
506+
// different instructions in different cases which makes this an unreliable testing method. It
507507
// is of questionable value given the intrinsic test tool.
508508
{
509509
for instr in rust.instrs {

0 commit comments

Comments
 (0)