diff --git a/src/map.rs b/src/map.rs index b36806e06..3ffff15f8 100644 --- a/src/map.rs +++ b/src/map.rs @@ -135,6 +135,7 @@ impl Map { /// position, the value is updated, and the old value is returned. #[cfg(feature = "preserve_order")] #[cfg_attr(docsrs, doc(cfg(feature = "preserve_order")))] + #[inline] pub fn shift_insert(&mut self, index: usize, k: String, v: Value) -> Option { self.map.shift_insert(index, k, v) }