From: Kostya Shishkov Date: Mon, 17 Dec 2018 11:48:03 +0000 (+0100) Subject: switch to Rust2018 X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=1e596ff31b7631a5ea3a8bce6aac073c10f2732b;p=nihav-tool.git switch to Rust2018 --- diff --git a/Cargo.toml b/Cargo.toml index b6ee43d..2a5c548 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,6 +2,7 @@ name = "nihav-tool" version = "0.1.0" authors = ["Kostya Shishkov "] +edition = "2018" [dependencies] nihav = { path="../nihav" } diff --git a/src/main.rs b/src/main.rs index b57e361..4eafdcb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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 {