diff --git a/crates/polars-arrow/src/storage.rs b/crates/polars-arrow/src/storage.rs index 3197e1b1ab07..6c71bfd6c385 100644 --- a/crates/polars-arrow/src/storage.rs +++ b/crates/polars-arrow/src/storage.rs @@ -85,6 +85,7 @@ unsafe impl Sync for SharedStorage {} impl SharedStorage { pub fn from_static(slice: &'static [T]) -> Self { + #[expect(clippy::manual_slice_size_calculation)] let length_in_bytes = slice.len() * size_of::(); let ptr = slice.as_ptr().cast_mut(); let inner = SharedStorageInner {