From 65e7167c2c0e1f2b54a93b12f4cfb18d3fcb0ba2 Mon Sep 17 00:00:00 2001 From: Weston Pace Date: Mon, 24 Mar 2025 10:52:37 -0700 Subject: [PATCH] Avoid a try_into call that became ambiguous with the introduction of a new version of a downstream crate --- rust/lance-file/src/reader.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/lance-file/src/reader.rs b/rust/lance-file/src/reader.rs index 933dad4f177..ff2fc6bd7fb 100644 --- a/rust/lance-file/src/reader.rs +++ b/rust/lance-file/src/reader.rs @@ -532,7 +532,7 @@ fn read_null_array( 0 } else { let idx_max = *indices.values().iter().max().unwrap() as u64; - if idx_max >= page_info.length.try_into().unwrap() { + if idx_max >= page_info.length as u64 { return Err(Error::io( format!( "NullArray Reader: request([{}]) out of range: [0..{}]",