File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,10 @@ pub trait Swizzle<const N: usize> {
97
97
while i < N {
98
98
let index = Self :: INDEX [ i] ;
99
99
assert ! ( index as u32 as usize == index) ;
100
- assert ! ( index < M , "source element index exceeds input vector length" ) ;
100
+ assert ! (
101
+ index < M ,
102
+ "source element index exceeds input vector length"
103
+ ) ;
101
104
output[ i] = index as u32 ;
102
105
i += 1 ;
103
106
}
@@ -130,7 +133,10 @@ pub trait Swizzle<const N: usize> {
130
133
while i < N {
131
134
let index = Self :: INDEX [ i] ;
132
135
assert ! ( index as u32 as usize == index) ;
133
- assert ! ( index < 2 * M , "source element index exceeds input vector length" ) ;
136
+ assert ! (
137
+ index < 2 * M ,
138
+ "source element index exceeds input vector length"
139
+ ) ;
134
140
output[ i] = index as u32 ;
135
141
i += 1 ;
136
142
}
You can’t perform that action at this time.
0 commit comments