about summary refs log tree commit diff
path: root/src/libstd/collections
diff options
context:
space:
mode:
authorOliver Middleton <olliemail27@gmail.com>2016-09-28 11:28:42 +0100
committerOliver Middleton <olliemail27@gmail.com>2016-10-01 23:58:14 +0100
commit06a7dcd35588c0dd6eaa0a523b30e4140ff79868 (patch)
tree9f51099430656742ccfc3b1be79f02952de590e4 /src/libstd/collections
parent5045d4e39621b265eca947277f07e23f62608ad0 (diff)
downloadrust-06a7dcd35588c0dd6eaa0a523b30e4140ff79868.tar.gz
rust-06a7dcd35588c0dd6eaa0a523b30e4140ff79868.zip
std: Correct stability attributes for some implementations
These are displayed by rustdoc so should be correct.
Diffstat (limited to 'src/libstd/collections')
-rw-r--r--src/libstd/collections/hash/map.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/collections/hash/map.rs b/src/libstd/collections/hash/map.rs
index 2ea0320d1f1..292f6d103d3 100644
--- a/src/libstd/collections/hash/map.rs
+++ b/src/libstd/collections/hash/map.rs
@@ -1606,14 +1606,14 @@ impl<'a, K, V> ExactSizeIterator for ValuesMut<'a, K, V> {
 #[unstable(feature = "fused", issue = "35602")]
 impl<'a, K, V> FusedIterator for ValuesMut<'a, K, V> {}
 
-#[stable(feature = "rust1", since = "1.0.0")]
+#[stable(feature = "drain", since = "1.6.0")]
 impl<'a, K, V> Iterator for Drain<'a, K, V> {
     type Item = (K, V);
 
     #[inline] fn next(&mut self) -> Option<(K, V)> { self.inner.next().map(|(_, k, v)| (k, v)) }
     #[inline] fn size_hint(&self) -> (usize, Option<usize>) { self.inner.size_hint() }
 }
-#[stable(feature = "rust1", since = "1.0.0")]
+#[stable(feature = "drain", since = "1.6.0")]
 impl<'a, K, V> ExactSizeIterator for Drain<'a, K, V> {
     #[inline] fn len(&self) -> usize { self.inner.len() }
 }
@@ -2055,7 +2055,7 @@ impl Hasher for DefaultHasher {
     }
 }
 
-#[stable(feature = "rust1", since = "1.0.0")]
+#[stable(feature = "hashmap_build_hasher", since = "1.7.0")]
 impl Default for RandomState {
     /// Constructs a new `RandomState`.
     #[inline]