From 3c6eb569aa69bad5278bbf96796edeeb3dd4d33c Mon Sep 17 00:00:00 2001 From: Mazdak Farrokhzad Date: Thu, 16 Nov 2023 13:31:40 +0100 Subject: [PATCH] pacify clippy --- crates/data-structures/src/slim_slice.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/data-structures/src/slim_slice.rs b/crates/data-structures/src/slim_slice.rs index cb1e937097..4e62f2cb5c 100644 --- a/crates/data-structures/src/slim_slice.rs +++ b/crates/data-structures/src/slim_slice.rs @@ -68,7 +68,7 @@ use core::{ mem, mem::ManuallyDrop, ops::{Deref, DerefMut}, - ptr::{read, slice_from_raw_parts_mut, NonNull}, + ptr::{slice_from_raw_parts_mut, NonNull}, slice, str::{from_utf8_unchecked, from_utf8_unchecked_mut}, };