Revert "Mark round_up_to_next as inline"
This reverts commit febdc3b201bcce1546c88e3be1b956d3f90d3059.
This commit is contained in:
parent
febdc3b201
commit
03f561c5f2
@ -511,7 +511,6 @@ impl<K, V, M: Deref<Target=RawTable<K, V>>> GapThenFull<K, V, M> {
|
||||
/// # Panics
|
||||
///
|
||||
/// Panics if `target_alignment` is not a power of two.
|
||||
#[inline]
|
||||
fn round_up_to_next(unrounded: usize, target_alignment: usize) -> usize {
|
||||
assert!(target_alignment.is_power_of_two());
|
||||
(unrounded + target_alignment - 1) & !(target_alignment - 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user