From 1e596ff31b7631a5ea3a8bce6aac073c10f2732b Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Mon, 17 Dec 2018 12:48:03 +0100 Subject: [PATCH] switch to Rust2018 --- Cargo.toml | 1 + src/main.rs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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 { -- 2.39.5