From 4d87c11293db86a224d30f58869f5dce64dab1ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 4 Dec 2018 19:01:40 +0200 Subject: [PATCH] Run everything through latest rustfmt again --- gst-plugin-threadshare/src/tcpclientsrc.rs | 4 ++-- gst-plugin-threadshare/src/udpsrc.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gst-plugin-threadshare/src/tcpclientsrc.rs b/gst-plugin-threadshare/src/tcpclientsrc.rs index 59e97400..212f7a51 100644 --- a/gst-plugin-threadshare/src/tcpclientsrc.rs +++ b/gst-plugin-threadshare/src/tcpclientsrc.rs @@ -453,14 +453,14 @@ impl TcpClientSrc { return Err(gst_error_msg!( gst::ResourceError::Settings, ["No address set"] - )) + )); } Some(ref addr) => match addr.parse() { Err(err) => { return Err(gst_error_msg!( gst::ResourceError::Settings, ["Invalid address '{}' set: {}", addr, err] - )) + )); } Ok(addr) => addr, }, diff --git a/gst-plugin-threadshare/src/udpsrc.rs b/gst-plugin-threadshare/src/udpsrc.rs index f25cbb52..884e9857 100644 --- a/gst-plugin-threadshare/src/udpsrc.rs +++ b/gst-plugin-threadshare/src/udpsrc.rs @@ -585,14 +585,14 @@ impl UdpSrc { return Err(gst_error_msg!( gst::ResourceError::Settings, ["No address set"] - )) + )); } Some(ref addr) => match addr.parse() { Err(err) => { return Err(gst_error_msg!( gst::ResourceError::Settings, ["Invalid address '{}' set: {}", addr, err] - )) + )); } Ok(addr) => addr, },