Skip to content

Commit 336bbfc

Browse files
committed
fix clippy
Signed-off-by: Matt Katz <mhkatz97@gmail.com>
1 parent ca053fd commit 336bbfc

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

  • encodings/fastlanes/src/bitpacking/plugin

‎encodings/fastlanes/src/bitpacking/plugin/tests.rs‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,12 +362,14 @@ fn v2_rejects_malformed_parts() -> VortexResult<()> {
362362
assert!(deserialize(&metadata, &[]).is_err());
363363
let offset_past_block = BitPackedV2Metadata {
364364
offset: 1024,
365-
..metadata.clone()
365+
block_offsets_ptype: metadata.block_offsets_ptype,
366+
patches: None,
366367
};
367368
assert!(deserialize(&offset_past_block, std::slice::from_ref(&block_offsets)).is_err());
368369
let signed = BitPackedV2Metadata {
370+
offset: 0,
369371
block_offsets_ptype: PType::I32 as i32,
370-
..metadata
372+
patches: None,
371373
};
372374
let signed_offsets =
373375
block_offsets.cast(DType::Primitive(PType::I32, Nullability::NonNullable))?;

0 commit comments

Comments
 (0)