diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-02-08 22:12:13 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-02-08 22:12:13 +0000 |
| commit | 6bd92ef9cb41246f2ed5d65d52c8dccb694f3990 (patch) | |
| tree | ee91943bd38862ba527c920e22aab9c7d68e56c0 /example/std_example.rs | |
| parent | 04e580fcc50f54bc49a44dbf9ef386f88b41a291 (diff) | |
| download | rust-6bd92ef9cb41246f2ed5d65d52c8dccb694f3990.tar.gz rust-6bd92ef9cb41246f2ed5d65d52c8dccb694f3990.zip | |
Rustfmt
Diffstat (limited to 'example/std_example.rs')
| -rw-r--r-- | example/std_example.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/example/std_example.rs b/example/std_example.rs index 0b1d83c5630..ffdc6a7d484 100644 --- a/example/std_example.rs +++ b/example/std_example.rs @@ -241,9 +241,10 @@ unsafe fn test_simd() { let (zero0, zero1) = std::mem::transmute::<_, (u64, u64)>(x); assert_eq!((zero0, zero1), (0, 0)); assert_eq!(std::mem::transmute::<_, [u16; 8]>(or), [7, 7, 7, 7, 7, 7, 7, 7]); - assert_eq!(std::mem::transmute::<_, [u16; 8]>(cmp_eq), [ - 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff - ]); + assert_eq!( + std::mem::transmute::<_, [u16; 8]>(cmp_eq), + [0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff] + ); assert_eq!(std::mem::transmute::<_, [u16; 8]>(cmp_lt), [0, 0, 0, 0, 0, 0, 0, 0]); test_mm_slli_si128(); |
