about summary refs log tree commit diff
diff options
context:
space:
mode:
authorcui fliter <imcusg@gmail.com>2023-07-16 00:37:30 +0800
committerCaleb Zulawski <caleb.zulawski@gmail.com>2023-11-19 00:13:24 -0500
commit64ea0884efbae271c9b0d1e4364bab9222f54d67 (patch)
treed1a184b2347e336e8529474274aeaf21d5769d52
parent384be9fb9667679e179a29b729b9788be21687af (diff)
downloadrust-64ea0884efbae271c9b0d1e4364bab9222f54d67.tar.gz
rust-64ea0884efbae271c9b0d1e4364bab9222f54d67.zip
remove repetitive words
Signed-off-by: cui fliter <imcusg@gmail.com>
-rw-r--r--crates/core_simd/examples/dot_product.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/core_simd/examples/dot_product.rs b/crates/core_simd/examples/dot_product.rs
index e5815888bb7..f047010a65c 100644
--- a/crates/core_simd/examples/dot_product.rs
+++ b/crates/core_simd/examples/dot_product.rs
@@ -130,7 +130,7 @@ pub fn dot_prod_simd_4(a: &[f32], b: &[f32]) -> f32 {
 }
 
 // This version allocates a single `XMM` register for accumulation, and the folds don't allocate on top of that.
-// Notice the the use of `mul_add`, which can do a multiply and an add operation ber iteration.
+// Notice the use of `mul_add`, which can do a multiply and an add operation ber iteration.
 pub fn dot_prod_simd_5(a: &[f32], b: &[f32]) -> f32 {
     a.array_chunks::<4>()
         .map(|&a| f32x4::from_array(a))