]> git.nihav.org Git - nihav-tool.git/commitdiff
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 b6ee43d767b072804dc1328adb923302988265da..2a5c5483f4394aa7036c5cd359db60a0595b480f 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 b57e3611953ab6ad83b093f779416ebec465b320..4eafdcb9a96dc32af5c7a90dcc02298c32c2b216 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 {