diff options
| author | Tim Neumann <mail@timnn.me> | 2015-08-10 13:51:55 +0200 |
|---|---|---|
| committer | Tim Neumann <mail@timnn.me> | 2015-08-10 13:51:55 +0200 |
| commit | 03f561c5f2084031443ec795f87a66ed6be5282a (patch) | |
| tree | 395a3bed592eb4053be7fa99a0e70db9943e582f /src/libstd | |
| parent | febdc3b201bcce1546c88e3be1b956d3f90d3059 (diff) | |
| download | rust-03f561c5f2084031443ec795f87a66ed6be5282a.tar.gz rust-03f561c5f2084031443ec795f87a66ed6be5282a.zip | |
Revert "Mark round_up_to_next as inline"
This reverts commit febdc3b201bcce1546c88e3be1b956d3f90d3059.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/collections/hash/table.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libstd/collections/hash/table.rs b/src/libstd/collections/hash/table.rs index e8ac8a13296..349462aebe3 100644 --- a/src/libstd/collections/hash/table.rs +++ b/src/libstd/collections/hash/table.rs @@ -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) |
