Run everything through latest rustfmt again

This commit is contained in:
Sebastian Dröge 2018-12-04 19:01:40 +02:00
parent 3026e56cfb
commit 4d87c11293
2 changed files with 4 additions and 4 deletions

View file

@ -453,14 +453,14 @@ impl TcpClientSrc {
return Err(gst_error_msg!( return Err(gst_error_msg!(
gst::ResourceError::Settings, gst::ResourceError::Settings,
["No address set"] ["No address set"]
)) ));
} }
Some(ref addr) => match addr.parse() { Some(ref addr) => match addr.parse() {
Err(err) => { Err(err) => {
return Err(gst_error_msg!( return Err(gst_error_msg!(
gst::ResourceError::Settings, gst::ResourceError::Settings,
["Invalid address '{}' set: {}", addr, err] ["Invalid address '{}' set: {}", addr, err]
)) ));
} }
Ok(addr) => addr, Ok(addr) => addr,
}, },

View file

@ -585,14 +585,14 @@ impl UdpSrc {
return Err(gst_error_msg!( return Err(gst_error_msg!(
gst::ResourceError::Settings, gst::ResourceError::Settings,
["No address set"] ["No address set"]
)) ));
} }
Some(ref addr) => match addr.parse() { Some(ref addr) => match addr.parse() {
Err(err) => { Err(err) => {
return Err(gst_error_msg!( return Err(gst_error_msg!(
gst::ResourceError::Settings, gst::ResourceError::Settings,
["Invalid address '{}' set: {}", addr, err] ["Invalid address '{}' set: {}", addr, err]
)) ));
} }
Ok(addr) => addr, Ok(addr) => addr,
}, },