Skip to content

Commit

Permalink
Merge pull request #25 from Avi-D-coder/master
Browse files Browse the repository at this point in the history
Fix build
  • Loading branch information
mtak- authored Aug 11, 2019
2 parents ee7ec41 + 72d4951 commit 6dc49f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions src/internal/bloom.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,10 @@ const fn calc_shift<T>() -> usize {
+ (mem::align_of::<T>() > 2) as usize
+ (mem::align_of::<T>() > 4) as usize
+ (mem::align_of::<T>() > 8) as usize
+ 1 // In practice this +1 results in less failures, however it's not "correct". Any TCell with a
// meaningful value happens to have a minimum size of mem::size_of::<usize>() * 2 which might
// explain why the +1 is helpful for certain workloads.
+ 1 // In practice this +1 results in less failures, however it's not "correct". Any TCell
// with a meaningful value happens to have a minimum size of
// mem::size_of::<usize>() * 2 which might explain why the +1 is helpful for
// certain workloads.
}

#[inline]
Expand Down
2 changes: 1 addition & 1 deletion swym-htm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#![cfg_attr(not(test), no_std)]
#![feature(core_intrinsics)]
#![feature(link_llvm_intrinsics)]
#![cfg_attr(test, feature(test))]
#![feature(test)]
#![warn(missing_docs)]

#[cfg(test)]
Expand Down

0 comments on commit 6dc49f1

Please sign in to comment.