Commit 4d87c112 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

Run everything through latest rustfmt again

parent 3026e56c
......@@ -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,
},
......
......@@ -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,
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment