Rust2018: use new addressing scheme
[nihav.git] / src / detect.rs
index 7dad84259ada8ef5a39756ad91ff9ec99a5a0c3c..0b606419b0c91f86b495482e56d0332e39d4de25 100644 (file)
@@ -1,5 +1,5 @@
 use std::io::SeekFrom;
-use io::byteio::ByteReader;
+use crate::io::byteio::ByteReader;
 
 #[derive(Debug,Clone,Copy,PartialEq)]
 pub enum DetectionScore {
@@ -242,7 +242,7 @@ pub fn detect_format(name: &str, src: &mut ByteReader) -> Option<(&'static str,
 mod test {
     use super::*;
     use std::fs::File;
-    use io::byteio::*;
+    use crate::io::byteio::*;
 
     #[test]
     fn test_avi_detect() {