fix some warnings (unneeded parentheses, missing dyn keyword)
[nihav.git] / nihav-duck / src / codecs / vp7.rs
index 2632b40283baee3f39859da1e1d2c42cb585aeaf..9243f93456de6512340f781e4391c0235c74fee6 100644 (file)
@@ -1430,7 +1430,7 @@ impl NAOptionHandler for VP7Decoder {
     fn query_option_value(&self, _name: &str) -> Option<NAValue> { None }
 }
 
-pub fn get_decoder() -> Box<NADecoder + Send> {
+pub fn get_decoder() -> Box<dyn NADecoder + Send> {
     Box::new(VP7Decoder::new())
 }