Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ruseinov committed Apr 8, 2024
1 parent da997ca commit c508210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion near-sdk/src/store/iterable_map/entry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ where
/// assert_eq!(map["poneyland"], 15);
/// ```
pub fn insert(&mut self, value: V) -> V {
core::mem::replace(&mut self.get_mut(), value)
core::mem::replace(self.get_mut(), value)
}

/// Takes the value out of the entry, and returns it.
Expand Down

0 comments on commit c508210

Please sign in to comment.