From a3c9dc4650768f0a91408f8cc5dd238e2e4c2306 Mon Sep 17 00:00:00 2001 From: Anderson Toshiyuki Sasaki Date: Fri, 17 Jan 2025 12:07:59 +0100 Subject: [PATCH] main: Remove unnecessary lifetime This fixes a waning on newer rust compilers that complains about it. Signed-off-by: Anderson Toshiyuki Sasaki --- keylime-agent/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keylime-agent/src/main.rs b/keylime-agent/src/main.rs index a4f0bf4e..179b01b8 100644 --- a/keylime-agent/src/main.rs +++ b/keylime-agent/src/main.rs @@ -1015,7 +1015,7 @@ mod testing { } } - impl<'a> QuoteData<'a> { + impl QuoteData<'_> { pub(crate) async fn fixture() -> std::result::Result< (Self, AsyncMutexGuard<'static, ()>), MainTestError,