Skip to content

Commit ae069f1

Browse files
committed
Fix rustfmt sillyness
1 parent 03c8beb commit ae069f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mem/x86_64.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ pub unsafe fn compare_bytes(a: *const u8, b: *const u8, n: usize) -> i32 {
113113
// Just to be sure we're actually working with powers of two...
114114
let _ = const { 1 - mem::size_of::<T>().count_ones() }; // <= 1
115115
let _ = const { mem::size_of::<T>().count_ones() - 1 }; // >= 1
116+
116117
// This should be equivalent to division with power-of-two sizes, except the former
117118
// somehow still leaves a call to panic because ??
118119
for _ in 0..n >> mem::size_of::<T>().trailing_zeros() {

0 commit comments

Comments
 (0)