diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2017-01-21 00:33:38 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2017-02-05 09:46:15 +0100 |
| commit | 0cc2448e053047546aff4ea0749adb06896092b5 (patch) | |
| tree | a0c8f6abd811e2205cea13745e153a7bf6ae8038 /src/libcollections/enum_set.rs | |
| parent | 668af801cfe80e6cae350b2587f99bbe869ec96e (diff) | |
| download | rust-0cc2448e053047546aff4ea0749adb06896092b5.tar.gz rust-0cc2448e053047546aff4ea0749adb06896092b5.zip | |
Replace PlaceBack Debug implementation with derive
Diffstat (limited to 'src/libcollections/enum_set.rs')
| -rw-r--r-- | src/libcollections/enum_set.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libcollections/enum_set.rs b/src/libcollections/enum_set.rs index e4498c17617..9bbb1013643 100644 --- a/src/libcollections/enum_set.rs +++ b/src/libcollections/enum_set.rs @@ -220,10 +220,9 @@ pub struct Iter<E> { marker: marker::PhantomData<E>, } -#[stable(feature = "collection_debug", since = "1.15.0")] impl<E: fmt::Debug> fmt::Debug for Iter<E> { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - f.debug_tuple("EnumSet::Iter") + f.debug_tuple("Iter") .field(&self.clone()) .finish() } |
