diff options
| author | bors <bors@rust-lang.org> | 2016-04-24 13:47:22 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-04-24 13:47:22 -0700 |
| commit | 19304837c86cc406ee042c99e12fa34debae4e8a (patch) | |
| tree | 180cf9b6c1b7e850bf19c7101e112729ad381b6e /src/libstd | |
| parent | 91aea5cf87953788477ccaa3a37c3f2c855e7a0a (diff) | |
| parent | a31658de51444d1b5193ac203a1bd7ace5621f93 (diff) | |
| download | rust-19304837c86cc406ee042c99e12fa34debae4e8a.tar.gz rust-19304837c86cc406ee042c99e12fa34debae4e8a.zip | |
Auto merge of #33179 - Manishearth:breaking-batch, r=Manishearth
Batch up breaking libsyntax changes Contains: - #33125 - #33041 - #33157 cc https://github.com/rust-lang/rust/issues/31645
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/collections/hash/map.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/collections/hash/map.rs b/src/libstd/collections/hash/map.rs index c20270e8306..70b3edac5c5 100644 --- a/src/libstd/collections/hash/map.rs +++ b/src/libstd/collections/hash/map.rs @@ -830,7 +830,7 @@ impl<K, V, S> HashMap<K, V, S> /// } /// ``` #[stable(feature = "rust1", since = "1.0.0")] - pub fn keys<'a>(&'a self) -> Keys<'a, K, V> { + pub fn keys(&self) -> Keys<K, V> { Keys { inner: self.iter() } } @@ -852,7 +852,7 @@ impl<K, V, S> HashMap<K, V, S> /// } /// ``` #[stable(feature = "rust1", since = "1.0.0")] - pub fn values<'a>(&'a self) -> Values<'a, K, V> { + pub fn values(&self) -> Values<K, V> { Values { inner: self.iter() } } @@ -880,7 +880,7 @@ impl<K, V, S> HashMap<K, V, S> /// } /// ``` #[unstable(feature = "map_values_mut", reason = "recently added", issue = "32551")] - pub fn values_mut<'a>(&'a mut self) -> ValuesMut<'a, K, V> { + pub fn values_mut<'a>(&'a mut self) -> ValuesMut<K, V> { ValuesMut { inner: self.iter_mut() } } |
