Changed tabs back into spaces to fix formatting.

This commit is contained in:
Jeroen Bollen 2017-10-12 11:18:16 +02:00
parent 0df7f00a04
commit 0f8ee171b2

View File

@ -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())
}
}