From 3013b3634563cdba13f7aefcd7a7c69a9afdb8ab Mon Sep 17 00:00:00 2001 From: Orson Peters Date: Mon, 21 Oct 2024 15:12:47 +0200 Subject: [PATCH] clippy --- crates/polars-arrow/src/storage.rs | 1 + 1 file changed, 1 insertion(+) 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 {