mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-26 11:31:06 +00:00
Unnecessary reference
This creates a reference to a reference, clean it. Fixes https://github.com/sdroege/gstreamer-rs/pull/48 Fixes https://github.com/sdroege/gstreamer-rs/issues/47
This commit is contained in:
parent
e82e8e0c34
commit
d94bb0e0fb
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ impl fmt::Display for ExampleError {
|
||||||
ExampleError::ElementError(ref element, ref err, ref debug) => {
|
ExampleError::ElementError(ref element, ref err, ref debug) => {
|
||||||
write!(f, "Error from {}: {} ({:?})", element, err, debug)
|
write!(f, "Error from {}: {} ({:?})", element, err, debug)
|
||||||
}
|
}
|
||||||
ExampleError::MissingFeature(ref feature) => write!(
|
ExampleError::MissingFeature(feature) => write!(
|
||||||
f,
|
f,
|
||||||
"Feature {} is required. Please rebuild with --features {}",
|
"Feature {} is required. Please rebuild with --features {}",
|
||||||
feature,
|
feature,
|
||||||
|
|
Loading…
Reference in a new issue