File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
crates/core_simd/src/masks Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -161,9 +161,7 @@ macro_rules! define_opaque_mask {
161
161
162
162
impl core:: fmt:: Debug for $name {
163
163
fn fmt( & self , f: & mut core:: fmt:: Formatter ) -> core:: fmt:: Result {
164
- f. debug_list( )
165
- . entries( ( 0 ..$lanes) . map( |i| self . test( i) ) )
166
- . finish( )
164
+ core:: fmt:: Debug :: fmt( & self . 0 , f)
167
165
}
168
166
}
169
167
Original file line number Diff line number Diff line change @@ -84,25 +84,25 @@ macro_rules! define_mask {
84
84
85
85
impl core:: fmt:: Binary for $name {
86
86
fn fmt( & self , f: & mut core:: fmt:: Formatter ) -> core:: fmt:: Result {
87
- <$type as core:: fmt:: Binary > :: fmt( & self . 0 , f)
87
+ core:: fmt:: Binary :: fmt( & self . 0 , f)
88
88
}
89
89
}
90
90
91
91
impl core:: fmt:: Octal for $name {
92
92
fn fmt( & self , f: & mut core:: fmt:: Formatter ) -> core:: fmt:: Result {
93
- <$type as core:: fmt:: Octal > :: fmt( & self . 0 , f)
93
+ core:: fmt:: Octal :: fmt( & self . 0 , f)
94
94
}
95
95
}
96
96
97
97
impl core:: fmt:: LowerHex for $name {
98
98
fn fmt( & self , f: & mut core:: fmt:: Formatter ) -> core:: fmt:: Result {
99
- <$type as core:: fmt:: LowerHex > :: fmt( & self . 0 , f)
99
+ core:: fmt:: LowerHex :: fmt( & self . 0 , f)
100
100
}
101
101
}
102
102
103
103
impl core:: fmt:: UpperHex for $name {
104
104
fn fmt( & self , f: & mut core:: fmt:: Formatter ) -> core:: fmt:: Result {
105
- <$type as core:: fmt:: UpperHex > :: fmt( & self . 0 , f)
105
+ core:: fmt:: UpperHex :: fmt( & self . 0 , f)
106
106
}
107
107
}
108
108
}
You can’t perform that action at this time.
0 commit comments