Skip to content

Commit e8bb41c

Browse files
committed
Fix no-std preserve_order build
1 parent 4e0d349 commit e8bb41c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/map.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ impl Map<String, Value> {
174174
#[inline]
175175
pub fn append(&mut self, other: &mut Self) {
176176
#[cfg(feature = "preserve_order")]
177-
for (k, v) in std::mem::replace(&mut other.map, MapImpl::default()) {
177+
for (k, v) in mem::replace(&mut other.map, MapImpl::default()) {
178178
self.map.insert(k, v);
179179
}
180180
#[cfg(not(feature = "preserve_order"))]

0 commit comments

Comments
 (0)