Skip to content

Commit 4851dcb

Browse files
authored
Rollup merge of #113717 - cuishuang:master, r=Nilstrieb
remove repetitive words
2 parents c8fe0cf + 6f21117 commit 4851dcb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

portable-simd/crates/core_simd/examples/dot_product.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ pub fn dot_prod_simd_4(a: &[f32], b: &[f32]) -> f32 {
130130
}
131131

132132
// This version allocates a single `XMM` register for accumulation, and the folds don't allocate on top of that.
133-
// Notice the the use of `mul_add`, which can do a multiply and an add operation ber iteration.
133+
// Notice the use of `mul_add`, which can do a multiply and an add operation ber iteration.
134134
pub fn dot_prod_simd_5(a: &[f32], b: &[f32]) -> f32 {
135135
a.array_chunks::<4>()
136136
.map(|&a| f32x4::from_array(a))

test/src/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ impl TestDesc {
224224
}
225225
}
226226

227-
/// Returns None for ignored test or that that are just run, otherwise give a description of the type of test.
227+
/// Returns None for ignored test or tests that are just run, otherwise returns a description of the type of test.
228228
/// Descriptions include "should panic", "compile fail" and "compile".
229229
pub fn test_mode(&self) -> Option<&'static str> {
230230
if self.ignore {

0 commit comments

Comments
 (0)