diff --git a/src/raw/mod.rs b/src/raw/mod.rs index 625ca1d719..63f97cffb8 100644 --- a/src/raw/mod.rs +++ b/src/raw/mod.rs @@ -1189,7 +1189,7 @@ impl RawTableInner { /// Searches for an element in the table. This uses dynamic dispatch to reduce the amount of /// code generated, but it is eliminated by LLVM optimizations. - #[inline] + #[inline(always)] fn find_inner(&self, hash: u64, eq: &mut dyn FnMut(usize) -> bool) -> Option { let h2_hash = h2(hash); let mut probe_seq = self.probe_seq(hash);