From 5119c40acd6d222d502fb8382444b7d64c9b6b1b Mon Sep 17 00:00:00 2001 From: Piotr Esden-Tempski Date: Mon, 25 May 2026 13:40:53 -0700 Subject: [PATCH] Fix the elided lifetime warning that was enabled in rust 1.89.0. --- src/client/transport.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/transport.rs b/src/client/transport.rs index 67fe1a6c..29c8fbf3 100644 --- a/src/client/transport.rs +++ b/src/client/transport.rs @@ -233,12 +233,12 @@ pub struct LogView { impl LogView { /// Gets a read guard for all the messages sent on the transport. - pub fn sent(&self) -> error::Result>> { + pub fn sent(&self) -> error::Result>> { self.sent.read().map_err(|_| error::Error::PoisonedLog) } /// Gets a read guard for all the messages received on the transport. - pub fn received(&self) -> error::Result>> { + pub fn received(&self) -> error::Result>> { self.received.read().map_err(|_| error::Error::PoisonedLog) } }