mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-27 05:51:01 +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!(
|
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,
|
||||||
},
|
},
|
||||||
|
|
|
@ -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,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue