File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
vortex-vector/src/binaryview Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -146,10 +146,10 @@ impl<T: BinaryViewType> VectorMutOps for BinaryViewVectorMut<T> {
146146 }
147147
148148 // rewrite the views using our lookup table
149- let new_views = rewrite_views ( other. views ( ) . iter ( ) . copied ( ) , & buf_index_lookup) ;
149+ let new_views_iter = rewrite_views ( other. views ( ) . iter ( ) . copied ( ) , & buf_index_lookup) ;
150150
151151 self . buffers . extend ( new_buffers) ;
152- self . views . extend ( new_views ) ;
152+ self . views . extend ( new_views_iter ) ;
153153 self . validity . append_mask ( other. validity ( ) )
154154 }
155155
Original file line number Diff line number Diff line change @@ -274,7 +274,7 @@ impl fmt::Debug for BinaryView {
274274/// 2. Points at a valid range of owned buffer memory, and the bytes stored there conform to
275275/// the type constraints as defined by the `validator`.
276276pub ( super ) fn validate_views < ValidateFn , IsValidFn > (
277- views : impl AsRef < [ BinaryView ] > ,
277+ views : & [ BinaryView ] ,
278278 buffers : impl AsRef < [ ByteBuffer ] > ,
279279 validity : IsValidFn ,
280280 validator : ValidateFn ,
You can’t perform that action at this time.
0 commit comments