From 65c7cf8c5f3ae95722e9404cc62f2d84964e0bdc Mon Sep 17 00:00:00 2001 From: Scott Lamb Date: Tue, 9 Aug 2022 06:37:14 -0700 Subject: [PATCH] cargo fmt --- src/client/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/client/mod.rs b/src/client/mod.rs index 9825495..a490e59 100644 --- a/src/client/mod.rs +++ b/src/client/mod.rs @@ -2360,12 +2360,12 @@ impl futures::Stream for Session { }, Poll::Ready(Some(Err(e))) => { debug!("RTSP connection error: {:?}", e); - return Poll::Ready(Some(Err(e))) - }, + return Poll::Ready(Some(Err(e))); + } Poll::Ready(None) => { debug!("Server closed RTSP connection"); - return Poll::Ready(None) - }, + return Poll::Ready(None); + } std::task::Poll::Pending => {} }