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:
Luis de Bethencourt 2017-10-22 16:27:00 +01:00 committed by Sebastian Dröge
parent e82e8e0c34
commit d94bb0e0fb

View file

@ -30,7 +30,7 @@ impl fmt::Display for ExampleError {
ExampleError::ElementError(ref element, ref err, ref debug) => {
write!(f, "Error from {}: {} ({:?})", element, err, debug)
}
ExampleError::MissingFeature(ref feature) => write!(
ExampleError::MissingFeature(feature) => write!(
f,
"Feature {} is required. Please rebuild with --features {}",
feature,