Changed tabs back into spaces to fix formatting.
This commit is contained in:
parent
0df7f00a04
commit
0f8ee171b2
@ -2287,8 +2287,8 @@ pub fn replace_entry(mut self, value: V) -> (K, V) {
|
||||
/// ```
|
||||
#[unstable(feature = "map_entry_replace", issue = "44286")]
|
||||
pub fn replace_key(mut self) -> K {
|
||||
let (old_key, _) = self.elem.read_mut();
|
||||
mem::replace(old_key, self.key.unwrap())
|
||||
let (old_key, _) = self.elem.read_mut();
|
||||
mem::replace(old_key, self.key.unwrap())
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user