From 1fe5a698d2f0b558c8649c4834dcfeb47e38028c Mon Sep 17 00:00:00 2001 From: Uwe Klotz Date: Fri, 29 Nov 2024 19:05:38 +0100 Subject: [PATCH] Fix pre-commit issues --- src/frame/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frame/mod.rs b/src/frame/mod.rs index 336c436..5c4fc3c 100644 --- a/src/frame/mod.rs +++ b/src/frame/mod.rs @@ -230,7 +230,7 @@ pub enum Request<'a> { Custom(u8, Cow<'a, [u8]>), } -impl<'a> Request<'a> { +impl Request<'_> { /// Converts the request into an owned instance with `'static'` lifetime. #[must_use] pub fn into_owned(self) -> Request<'static> { @@ -300,7 +300,7 @@ pub struct SlaveRequest<'a> { } #[cfg(feature = "server")] -impl<'a> SlaveRequest<'a> { +impl SlaveRequest<'_> { /// Converts the request into an owned instance with `'static'` lifetime. #[must_use] pub fn into_owned(self) -> SlaveRequest<'static> {