about summary refs log tree commit diff
path: root/example
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-09-22 19:05:04 -0400
committerMichael Goulet <michael@errs.io>2024-09-22 19:11:29 -0400
commit02b0f3b5ab793973e31d4725b6caf6bf849c22b6 (patch)
treed763b8c9210fa7e3ec4128e75aeb6d04ec21aabb /example
parent90300ef40b5098e48162d4e4ae32c8f4db9c7c5c (diff)
Reformat using the new identifier sorting from rustfmt
Diffstat (limited to 'example')
-rw-r--r--example/std_example.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/example/std_example.rs b/example/std_example.rs
index f27d4ef57e0..602452d8276 100644
--- a/example/std_example.rs
+++ b/example/std_example.rs
@@ -238,10 +238,9 @@ 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();