Skip to content

Commit

Permalink
better expect message
Browse files Browse the repository at this point in the history
  • Loading branch information
danking committed Dec 19, 2024
1 parent 12a000a commit 47d2ecc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion encodings/alp/src/alp_rd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ pub fn alp_rd_decode<T: ALPRDFloat>(
.patch(patches)?
.try_into_maybe_null_vec::<u16>()
.map_err(|_| vortex_err!("could not zero copy patched left_parts_decoded"))
.vortex_expect("there are no aliases to this primitive array"),
.vortex_expect("the buffer backing this PrimitiveArray is uniquely derived from a Vec<u16> uniquely owned by this method"),
None => left_parts_decoded,
};

Expand Down

0 comments on commit 47d2ecc

Please sign in to comment.