File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
portable-simd/crates/core_simd/examples Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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.
134134pub fn dot_prod_simd_5 ( a : & [ f32 ] , b : & [ f32 ] ) -> f32 {
135135 a. array_chunks :: < 4 > ( )
136136 . map ( |& a| f32x4:: from_array ( a) )
Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments