From a062792d88e2a2a5f9d12bde86674b61cdce1827 Mon Sep 17 00:00:00 2001 From: Ryan Lopopolo Date: Sun, 6 Nov 2022 09:04:32 -0800 Subject: [PATCH] Fix clippy lint violations in new stable 1.65.0 - `clippy::explicit_auto_deref --- src/internal.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal.rs b/src/internal.rs index 8c2fad9b..6ebc65ea 100644 --- a/src/internal.rs +++ b/src/internal.rs @@ -262,7 +262,7 @@ where const fn as_slice(&self) -> &T { match self { Self::Static(slice) => slice, - Self::Owned(owned) => &**owned, + Self::Owned(owned) => owned, } }