Skip to content

Commit 8a038fc

Browse files
committed
few more
Signed-off-by: Andrew Duffy <[email protected]>
1 parent ad45b97 commit 8a038fc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

vortex-vector/src/binaryview/vector_mut.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

vortex-vector/src/binaryview/view.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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`.
276276
pub(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,

0 commit comments

Comments
 (0)