@@ -554,8 +554,8 @@ enum Enum1 {
554
554
impl ::core::clone::Clone for Enum1 {
555
555
#[inline]
556
556
fn clone(&self) -> Enum1 {
557
- match ( &*self,) {
558
- ( &Enum1::Single { x: ref __self_0 },) =>
557
+ match &*self {
558
+ &Enum1::Single { x: ref __self_0 } =>
559
559
Enum1::Single { x: ::core::clone::Clone::clone(&*__self_0) },
560
560
}
561
561
}
@@ -564,8 +564,8 @@ impl ::core::clone::Clone for Enum1 {
564
564
#[allow(unused_qualifications)]
565
565
impl ::core::fmt::Debug for Enum1 {
566
566
fn fmt(&self, f: &mut ::core::fmt::Formatter) -> ::core::fmt::Result {
567
- match ( &*self,) {
568
- ( &Enum1::Single { x: ref __self_0 },) =>
567
+ match &*self {
568
+ &Enum1::Single { x: ref __self_0 } =>
569
569
::core::fmt::Formatter::debug_struct_field1_finish(f,
570
570
"Single", "x", &&*__self_0),
571
571
}
@@ -575,8 +575,8 @@ impl ::core::fmt::Debug for Enum1 {
575
575
#[allow(unused_qualifications)]
576
576
impl ::core::hash::Hash for Enum1 {
577
577
fn hash<__H: ::core::hash::Hasher>(&self, state: &mut __H) -> () {
578
- match ( &*self,) {
579
- ( &Enum1::Single { x: ref __self_0 },) => {
578
+ match &*self {
579
+ &Enum1::Single { x: ref __self_0 } => {
580
580
::core::hash::Hash::hash(&*__self_0, state)
581
581
}
582
582
}
@@ -669,10 +669,10 @@ impl ::core::marker::Copy for Fieldless { }
669
669
#[allow(unused_qualifications)]
670
670
impl ::core::fmt::Debug for Fieldless {
671
671
fn fmt(&self, f: &mut ::core::fmt::Formatter) -> ::core::fmt::Result {
672
- match ( &*self,) {
673
- ( &Fieldless::A,) => ::core::fmt::Formatter::write_str(f, "A"),
674
- ( &Fieldless::B,) => ::core::fmt::Formatter::write_str(f, "B"),
675
- ( &Fieldless::C,) => ::core::fmt::Formatter::write_str(f, "C"),
672
+ match &*self {
673
+ &Fieldless::A => ::core::fmt::Formatter::write_str(f, "A"),
674
+ &Fieldless::B => ::core::fmt::Formatter::write_str(f, "B"),
675
+ &Fieldless::C => ::core::fmt::Formatter::write_str(f, "C"),
676
676
}
677
677
}
678
678
}
@@ -686,7 +686,7 @@ impl ::core::default::Default for Fieldless {
686
686
#[allow(unused_qualifications)]
687
687
impl ::core::hash::Hash for Fieldless {
688
688
fn hash<__H: ::core::hash::Hasher>(&self, state: &mut __H) -> () {
689
- match ( &*self,) {
689
+ match &*self {
690
690
_ => {
691
691
::core::hash::Hash::hash(&::core::intrinsics::discriminant_value(self),
692
692
state)
@@ -775,13 +775,13 @@ impl ::core::marker::Copy for Mixed { }
775
775
#[allow(unused_qualifications)]
776
776
impl ::core::fmt::Debug for Mixed {
777
777
fn fmt(&self, f: &mut ::core::fmt::Formatter) -> ::core::fmt::Result {
778
- match ( &*self,) {
779
- ( &Mixed::P,) => ::core::fmt::Formatter::write_str(f, "P"),
780
- ( &Mixed::Q,) => ::core::fmt::Formatter::write_str(f, "Q"),
781
- ( &Mixed::R(ref __self_0), ) =>
778
+ match &*self {
779
+ &Mixed::P => ::core::fmt::Formatter::write_str(f, "P"),
780
+ &Mixed::Q => ::core::fmt::Formatter::write_str(f, "Q"),
781
+ &Mixed::R(ref __self_0) =>
782
782
::core::fmt::Formatter::debug_tuple_field1_finish(f, "R",
783
783
&&*__self_0),
784
- ( &Mixed::S { d1: ref __self_0, d2: ref __self_1 },) =>
784
+ &Mixed::S { d1: ref __self_0, d2: ref __self_1 } =>
785
785
::core::fmt::Formatter::debug_struct_field2_finish(f, "S",
786
786
"d1", &&*__self_0, "d2", &&*__self_1),
787
787
}
@@ -797,13 +797,13 @@ impl ::core::default::Default for Mixed {
797
797
#[allow(unused_qualifications)]
798
798
impl ::core::hash::Hash for Mixed {
799
799
fn hash<__H: ::core::hash::Hasher>(&self, state: &mut __H) -> () {
800
- match ( &*self,) {
801
- ( &Mixed::R(ref __self_0), ) => {
800
+ match &*self {
801
+ &Mixed::R(ref __self_0) => {
802
802
::core::hash::Hash::hash(&::core::intrinsics::discriminant_value(self),
803
803
state);
804
804
::core::hash::Hash::hash(&*__self_0, state)
805
805
}
806
- ( &Mixed::S { d1: ref __self_0, d2: ref __self_1 },) => {
806
+ &Mixed::S { d1: ref __self_0, d2: ref __self_1 } => {
807
807
::core::hash::Hash::hash(&::core::intrinsics::discriminant_value(self),
808
808
state);
809
809
::core::hash::Hash::hash(&*__self_0, state);
@@ -943,12 +943,12 @@ enum Fielded { X(u32), Y(bool), Z(Option<i32>), }
943
943
impl ::core::clone::Clone for Fielded {
944
944
#[inline]
945
945
fn clone(&self) -> Fielded {
946
- match ( &*self,) {
947
- ( &Fielded::X(ref __self_0), ) =>
946
+ match &*self {
947
+ &Fielded::X(ref __self_0) =>
948
948
Fielded::X(::core::clone::Clone::clone(&*__self_0)),
949
- ( &Fielded::Y(ref __self_0), ) =>
949
+ &Fielded::Y(ref __self_0) =>
950
950
Fielded::Y(::core::clone::Clone::clone(&*__self_0)),
951
- ( &Fielded::Z(ref __self_0), ) =>
951
+ &Fielded::Z(ref __self_0) =>
952
952
Fielded::Z(::core::clone::Clone::clone(&*__self_0)),
953
953
}
954
954
}
@@ -957,14 +957,14 @@ impl ::core::clone::Clone for Fielded {
957
957
#[allow(unused_qualifications)]
958
958
impl ::core::fmt::Debug for Fielded {
959
959
fn fmt(&self, f: &mut ::core::fmt::Formatter) -> ::core::fmt::Result {
960
- match ( &*self,) {
961
- ( &Fielded::X(ref __self_0), ) =>
960
+ match &*self {
961
+ &Fielded::X(ref __self_0) =>
962
962
::core::fmt::Formatter::debug_tuple_field1_finish(f, "X",
963
963
&&*__self_0),
964
- ( &Fielded::Y(ref __self_0), ) =>
964
+ &Fielded::Y(ref __self_0) =>
965
965
::core::fmt::Formatter::debug_tuple_field1_finish(f, "Y",
966
966
&&*__self_0),
967
- ( &Fielded::Z(ref __self_0), ) =>
967
+ &Fielded::Z(ref __self_0) =>
968
968
::core::fmt::Formatter::debug_tuple_field1_finish(f, "Z",
969
969
&&*__self_0),
970
970
}
@@ -974,18 +974,18 @@ impl ::core::fmt::Debug for Fielded {
974
974
#[allow(unused_qualifications)]
975
975
impl ::core::hash::Hash for Fielded {
976
976
fn hash<__H: ::core::hash::Hasher>(&self, state: &mut __H) -> () {
977
- match ( &*self,) {
978
- ( &Fielded::X(ref __self_0), ) => {
977
+ match &*self {
978
+ &Fielded::X(ref __self_0) => {
979
979
::core::hash::Hash::hash(&::core::intrinsics::discriminant_value(self),
980
980
state);
981
981
::core::hash::Hash::hash(&*__self_0, state)
982
982
}
983
- ( &Fielded::Y(ref __self_0), ) => {
983
+ &Fielded::Y(ref __self_0) => {
984
984
::core::hash::Hash::hash(&::core::intrinsics::discriminant_value(self),
985
985
state);
986
986
::core::hash::Hash::hash(&*__self_0, state)
987
987
}
988
- ( &Fielded::Z(ref __self_0), ) => {
988
+ &Fielded::Z(ref __self_0) => {
989
989
::core::hash::Hash::hash(&::core::intrinsics::discriminant_value(self),
990
990
state);
991
991
::core::hash::Hash::hash(&*__self_0, state)
0 commit comments