about summary refs log tree commit diff
path: root/library/portable-simd
diff options
context:
space:
mode:
authorcui fliter <imcusg@gmail.com>2023-07-16 00:37:30 +0800
committercui fliter <imcusg@gmail.com>2023-07-31 16:13:02 +0800
commit88c7b16e03452bc6b9f62a7e93788f93b2a51a4f (patch)
treeab0de683aab46797fc91ab145a484df0f85f1409 /library/portable-simd
parent4d6e4260b2de66a356a2536320f339467dff0d2b (diff)
downloadrust-88c7b16e03452bc6b9f62a7e93788f93b2a51a4f.tar.gz
rust-88c7b16e03452bc6b9f62a7e93788f93b2a51a4f.zip
remove repetitive words
Signed-off-by: cui fliter <imcusg@gmail.com>
Diffstat (limited to 'library/portable-simd')
-rw-r--r--library/portable-simd/crates/core_simd/examples/dot_product.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/portable-simd/crates/core_simd/examples/dot_product.rs b/library/portable-simd/crates/core_simd/examples/dot_product.rs
index 391f08f55a0..a7973ec7404 100644
--- a/library/portable-simd/crates/core_simd/examples/dot_product.rs
+++ b/library/portable-simd/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))