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.
1 parent 352b7ab commit 8878cd7Copy full SHA for 8878cd7
src/map.rs
@@ -135,6 +135,7 @@ impl Map<String, Value> {
135
/// position, the value is updated, and the old value is returned.
136
#[cfg(feature = "preserve_order")]
137
#[cfg_attr(docsrs, doc(cfg(feature = "preserve_order")))]
138
+ #[inline]
139
pub fn shift_insert(&mut self, index: usize, k: String, v: Value) -> Option<Value> {
140
self.map.shift_insert(index, k, v)
141
}
0 commit comments