switch to Rust2018
authorKostya Shishkov <kostya.shishkov@gmail.com>
Mon, 17 Dec 2018 11:48:03 +0000 (12:48 +0100)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Mon, 17 Dec 2018 11:48:03 +0000 (12:48 +0100)
Cargo.toml
src/main.rs

index b6ee43d..2a5c548 100644 (file)
@@ -2,6 +2,7 @@
 name = "nihav-tool"
 version = "0.1.0"
 authors = ["Kostya Shishkov <kostya.shishkov@gmail.com>"]
+edition = "2018"
 
 [dependencies]
 nihav = { path="../nihav" }
index b57e361..4eafdcb 100644 (file)
@@ -11,10 +11,10 @@ use nihav::detect;
 use std::env;
 
 mod frmwriter;
-use frmwriter::*;
+use crate::frmwriter::*;
 
 mod wavwriter;
-use wavwriter::WavWriter;
+use crate::wavwriter::WavWriter;
 
 #[derive(Clone,Copy,PartialEq)]
 enum NumberMode {