From 24eb2d8c4917fab4e0271660625f28d35c3d0814 Mon Sep 17 00:00:00 2001 From: Prabhpreet Dua <615318+prabhpreet@users.noreply.github.com> Date: Thu, 13 Jun 2024 11:46:01 +0530 Subject: [PATCH] Cargo clippy changes --- src/alloc/allocext/linux.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/alloc/allocext/linux.rs b/src/alloc/allocext/linux.rs index b39225c..3320f6e 100644 --- a/src/alloc/allocext/linux.rs +++ b/src/alloc/allocext/linux.rs @@ -4,7 +4,7 @@ use libc::{MAP_ANONYMOUS, MAP_FIXED, MAP_NORESERVE, MAP_SHARED, PROT_NONE}; use self::std::process::abort; use crate::{alloc::*, Prot}; use core::mem::{self, size_of}; -use core::ptr::{self, null_mut, NonNull}; +use core::ptr::{self, NonNull}; use core::slice; use self::memfd_secret_alloc::*;