11// SPDX-License-Identifier: Apache-2.0
22// SPDX-FileCopyrightText: Copyright the Vortex contributors
33
4- use itertools:: Itertools ;
54use vortex_array:: ArrayRef ;
65use vortex_array:: IntoArray ;
76use vortex_array:: ToCanonical ;
@@ -203,7 +202,7 @@ pub fn runend_decode_typed_primitive<T: NativePType>(
203202 match values_validity {
204203 Mask :: AllTrue ( _) => {
205204 let mut decoded: BufferMut < T > = BufferMut :: with_capacity ( length) ;
206- for ( end, value) in run_ends. zip_eq ( values) {
205+ for ( end, value) in run_ends. zip ( values) {
207206 assert ! ( end <= length, "Runend end must be less than overall length" ) ;
208207 // SAFETY:
209208 // We preallocate enough capacity because we know the total length
@@ -215,7 +214,7 @@ pub fn runend_decode_typed_primitive<T: NativePType>(
215214 Mask :: Values ( mask) => {
216215 let mut decoded = BufferMut :: with_capacity ( length) ;
217216 let mut decoded_validity = BitBufferMut :: with_capacity ( length) ;
218- for ( end, value) in run_ends. zip_eq (
217+ for ( end, value) in run_ends. zip (
219218 values
220219 . iter ( )
221220 . zip ( mask. bit_buffer ( ) . iter ( ) )
@@ -252,7 +251,7 @@ pub fn runend_decode_typed_bool(
252251 match values_validity {
253252 Mask :: AllTrue ( _) => {
254253 let mut decoded = BitBufferMut :: with_capacity ( length) ;
255- for ( end, value) in run_ends. zip_eq ( values. iter ( ) ) {
254+ for ( end, value) in run_ends. zip ( values. iter ( ) ) {
256255 decoded. append_n ( value, end - decoded. len ( ) ) ;
257256 }
258257 BoolArray :: from_bit_buffer ( decoded. freeze ( ) , values_nullability. into ( ) )
@@ -263,7 +262,7 @@ pub fn runend_decode_typed_bool(
263262 Mask :: Values ( mask) => {
264263 let mut decoded = BitBufferMut :: with_capacity ( length) ;
265264 let mut decoded_validity = BitBufferMut :: with_capacity ( length) ;
266- for ( end, value) in run_ends. zip_eq (
265+ for ( end, value) in run_ends. zip (
267266 values
268267 . iter ( )
269268 . zip ( mask. bit_buffer ( ) . iter ( ) )
0 commit comments