We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
rehash_in_place
1 parent 47a23ab commit a80c682Copy full SHA for a80c682
src/raw/mod.rs
@@ -1456,7 +1456,8 @@ impl<A: Allocator + Clone> RawTableInner<A> {
1456
/// This uses dynamic dispatch to reduce the amount of
1457
/// code generated, but it is eliminated by LLVM optimizations when inlined.
1458
#[allow(clippy::inline_always)]
1459
- #[inline(always)]
+ #[cfg_attr(feature = "inline-more", inline(always))]
1460
+ #[cfg_attr(not(feature = "inline-more"), inline)]
1461
unsafe fn rehash_in_place(
1462
&mut self,
1463
hasher: &dyn Fn(&mut Self, usize) -> u64,
0 commit comments