From a878684868b4374b1688f4b2e81bbe227529d16c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20K=C3=A5re=20Alsaker?= Date: Sat, 28 Oct 2023 04:20:15 +0200 Subject: [PATCH] Fix warning --- src/cpu_dispatch.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cpu_dispatch.rs b/src/cpu_dispatch.rs index 2c3409c16..01c28c31b 100644 --- a/src/cpu_dispatch.rs +++ b/src/cpu_dispatch.rs @@ -24,6 +24,7 @@ pub enum TypedBufGuard<'a, T: ?Sized> { } pub enum TypedBufGuardMut<'a, T: ?Sized> { + #[allow(dead_code)] Slice(&'a mut T), Interior(RefMut<'a, T>), }