From 47d2eccdfc98cabef99b606236e8baac19053090 Mon Sep 17 00:00:00 2001 From: Daniel King Date: Wed, 18 Dec 2024 20:12:10 -0500 Subject: [PATCH] better expect message --- encodings/alp/src/alp_rd/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/encodings/alp/src/alp_rd/mod.rs b/encodings/alp/src/alp_rd/mod.rs index 49a9ec722..ec0b3f8f9 100644 --- a/encodings/alp/src/alp_rd/mod.rs +++ b/encodings/alp/src/alp_rd/mod.rs @@ -283,7 +283,7 @@ pub fn alp_rd_decode( .patch(patches)? .try_into_maybe_null_vec::() .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 uniquely owned by this method"), None => left_parts_decoded, };