diff options
| author | Jeroen Bollen <contact@jeroenbollen.eu> | 2017-10-12 11:18:16 +0200 |
|---|---|---|
| committer | Jeroen Bollen <contact@jeroenbollen.eu> | 2017-11-11 16:23:16 +0100 |
| commit | 0f8ee171b2d78acaee2fb3c7774af531510d945b (patch) | |
| tree | 426c6d1184f0c222e25b9e978f78c09668149f26 /src/libstd/collections | |
| parent | 0df7f00a0430df0d9c14e4c51919062f44aadaad (diff) | |
| download | rust-0f8ee171b2d78acaee2fb3c7774af531510d945b.tar.gz rust-0f8ee171b2d78acaee2fb3c7774af531510d945b.zip | |
Changed tabs back into spaces to fix formatting.
Diffstat (limited to 'src/libstd/collections')
| -rw-r--r-- | src/libstd/collections/hash/map.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/collections/hash/map.rs b/src/libstd/collections/hash/map.rs index cac6d5ab767..a7b02fb2b76 100644 --- a/src/libstd/collections/hash/map.rs +++ b/src/libstd/collections/hash/map.rs @@ -2287,8 +2287,8 @@ impl<'a, K, V> OccupiedEntry<'a, 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()) } } |
