diff options
| author | Oliver Middleton <olliemail27@gmail.com> | 2016-09-28 11:28:42 +0100 |
|---|---|---|
| committer | Oliver Middleton <olliemail27@gmail.com> | 2016-10-01 23:58:14 +0100 |
| commit | 06a7dcd35588c0dd6eaa0a523b30e4140ff79868 (patch) | |
| tree | 9f51099430656742ccfc3b1be79f02952de590e4 /src/libcollections/enum_set.rs | |
| parent | 5045d4e39621b265eca947277f07e23f62608ad0 (diff) | |
| download | rust-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/libcollections/enum_set.rs')
| -rw-r--r-- | src/libcollections/enum_set.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libcollections/enum_set.rs b/src/libcollections/enum_set.rs index 2456a04e40a..2d12b4ccffe 100644 --- a/src/libcollections/enum_set.rs +++ b/src/libcollections/enum_set.rs @@ -48,7 +48,6 @@ impl<E> Clone for EnumSet<E> { } } -#[stable(feature = "rust1", since = "1.0.0")] impl<E: CLike + fmt::Debug> fmt::Debug for EnumSet<E> { fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { fmt.debug_set().entries(self).finish() @@ -277,7 +276,6 @@ impl<E: CLike> FromIterator<E> for EnumSet<E> { } } -#[stable(feature = "rust1", since = "1.0.0")] impl<'a, E> IntoIterator for &'a EnumSet<E> where E: CLike { type Item = E; @@ -296,7 +294,6 @@ impl<E: CLike> Extend<E> for EnumSet<E> { } } -#[stable(feature = "extend_ref", since = "1.2.0")] impl<'a, E: 'a + CLike + Copy> Extend<&'a E> for EnumSet<E> { fn extend<I: IntoIterator<Item = &'a E>>(&mut self, iter: I) { self.extend(iter.into_iter().cloned()); |
