Skip to content

Commit 6dc49f1

Browse files
authored
Merge pull request #25 from Avi-D-coder/master
Fix build
2 parents ee7ec41 + 72d4951 commit 6dc49f1

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/internal/bloom.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,10 @@ const fn calc_shift<T>() -> usize {
137137
+ (mem::align_of::<T>() > 2) as usize
138138
+ (mem::align_of::<T>() > 4) as usize
139139
+ (mem::align_of::<T>() > 8) as usize
140-
+ 1 // In practice this +1 results in less failures, however it's not "correct". Any TCell with a
141-
// meaningful value happens to have a minimum size of mem::size_of::<usize>() * 2 which might
142-
// explain why the +1 is helpful for certain workloads.
140+
+ 1 // In practice this +1 results in less failures, however it's not "correct". Any TCell
141+
// with a meaningful value happens to have a minimum size of
142+
// mem::size_of::<usize>() * 2 which might explain why the +1 is helpful for
143+
// certain workloads.
143144
}
144145

145146
#[inline]

swym-htm/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#![cfg_attr(not(test), no_std)]
44
#![feature(core_intrinsics)]
55
#![feature(link_llvm_intrinsics)]
6-
#![cfg_attr(test, feature(test))]
6+
#![feature(test)]
77
#![warn(missing_docs)]
88

99
#[cfg(test)]

0 commit comments

Comments
 (0)