fix clippy warnings for update to rustc 1.46
[nihav.git] / nihav-duck / src / lib.rs
index 4e85ac506f3070142a4b3b0a090ac98aedfedcc1..366a2dbf1e2b101deb492d42e76d524986e235b0 100644 (file)
@@ -1,9 +1,15 @@
 extern crate nihav_core;
 extern crate nihav_codec_support;
 
+#[allow(clippy::collapsible_if)]
+#[allow(clippy::comparison_chain)]
+#[allow(clippy::excessive_precision)]
+#[allow(clippy::identity_op)]
+#[allow(clippy::unreadable_literal)]
+#[allow(clippy::verbose_bit_mask)]
 mod codecs;
 
-pub use codecs::duck_register_all_codecs;
+pub use crate::codecs::duck_register_all_decoders;
 
 #[cfg(test)]
 extern crate nihav_commonfmt;