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) } }