From 1ee25024944fe6e6cc3ec683903ef021ef4024a4 Mon Sep 17 00:00:00 2001 From: Rafael Buchbinder Date: Sun, 1 Dec 2024 07:29:25 +0200 Subject: [PATCH] rsdns: fix `clippy::needless-lifetimes` warnings Appeared since rustc v1.84.0-beta.2 --- templates/async_client_impl.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/async_client_impl.rs b/templates/async_client_impl.rs index 79ce8ae..3a8fa40 100644 --- a/templates/async_client_impl.rs +++ b/templates/async_client_impl.rs @@ -122,7 +122,7 @@ struct ClientCtx<'a, 'b, 'c, 'd> { buf: &'d mut [u8], } -impl<'a, 'b, 'c, 'd> ClientCtx<'a, 'b, 'c, 'd> { +impl ClientCtx<'_, '_, '_, '_> { async fn query_raw(&mut self) -> Result { let query_lifetime = self.config.query_lifetime();