mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-27 20:40:31 +00:00
Run everything through latest rustfmt again
This commit is contained in:
parent
3026e56cfb
commit
4d87c11293
2 changed files with 4 additions and 4 deletions
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue