@@ -56,7 +56,7 @@ pub fn alp_encode(parray: &PrimitiveArray, exponents: Option<Exponents>) -> Vort
5656 }
5757}
5858
59- #[ allow ( clippy:: cast_possible_truncation) ]
59+ #[ expect ( clippy:: cast_possible_truncation) ]
6060fn alp_encode_components_typed < T > (
6161 values : & PrimitiveArray ,
6262 exponents : Option < Exponents > ,
@@ -154,7 +154,7 @@ pub fn decompress(array: ALPArray) -> PrimitiveArray {
154154/// # Returns
155155///
156156/// A `PrimitiveArray` containing the decompressed values with all patches applied.
157- #[ allow ( clippy:: cognitive_complexity) ]
157+ #[ expect ( clippy:: cognitive_complexity) ]
158158pub fn decompress_chunked (
159159 array : ALPArray ,
160160 patches : & Patches ,
@@ -282,7 +282,7 @@ mod tests {
282282 }
283283
284284 #[ test]
285- #[ allow ( clippy:: approx_constant) ] // Clippy objects to 2.718, an approximation of e, the base of the natural logarithm.
285+ #[ expect ( clippy:: approx_constant) ] // Clippy objects to 2.718, an approximation of e, the base of the natural logarithm.
286286 fn test_patched_compress ( ) {
287287 let values = buffer ! [ 1.234f64 , 2.718 , PI , 4.0 ] ;
288288 let array = PrimitiveArray :: new ( values. clone ( ) , Validity :: NonNullable ) ;
@@ -298,7 +298,7 @@ mod tests {
298298 }
299299
300300 #[ test]
301- #[ allow ( clippy:: approx_constant) ] // Clippy objects to 2.718, an approximation of e, the base of the natural logarithm.
301+ #[ expect ( clippy:: approx_constant) ] // Clippy objects to 2.718, an approximation of e, the base of the natural logarithm.
302302 fn test_compress_ignores_invalid_exceptional_values ( ) {
303303 let values = buffer ! [ 1.234f64 , 2.718 , PI , 4.0 ] ;
304304 let array = PrimitiveArray :: new ( values, Validity :: from_iter ( [ true , true , false , true ] ) ) ;
@@ -314,7 +314,7 @@ mod tests {
314314 }
315315
316316 #[ test]
317- #[ allow ( clippy:: approx_constant) ] // ALP doesn't like E
317+ #[ expect ( clippy:: approx_constant) ] // ALP doesn't like E
318318 fn test_nullable_patched_scalar_at ( ) {
319319 let array = PrimitiveArray :: from_option_iter ( [
320320 Some ( 1.234f64 ) ,
0 commit comments