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 c17e63f commit 352b7abCopy full SHA for 352b7ab
src/map.rs
@@ -134,6 +134,7 @@ impl Map<String, Value> {
134
/// If the map did have this key present, the key is moved to the new
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
pub fn shift_insert(&mut self, index: usize, k: String, v: Value) -> Option<Value> {
139
self.map.shift_insert(index, k, v)
140
}
0 commit comments