diff --git a/src/raw/mod.rs b/src/raw/mod.rs index fce54d9f0e..23bf88a0d2 100644 --- a/src/raw/mod.rs +++ b/src/raw/mod.rs @@ -1421,7 +1421,7 @@ impl RawTableInner { /// This uses dynamic dispatch to reduce the amount of /// code generated, but it is eliminated by LLVM optimizations when inlined. #[allow(clippy::inline_always)] - #[inline(always)] + #[cfg_attr(feature = "inline-more", inline(always))] unsafe fn resize_inner( &mut self, capacity: usize,