diff --git a/Cargo.toml b/Cargo.toml index cdecd82..31a6df1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,6 +2,7 @@ name = "tvrs" version = "0.1.0" authors = ["Thomas Forgione "] +edition = "2018" [dependencies] clap = "2.32.0" diff --git a/src/lib.rs b/src/lib.rs index 0375a31..96207a7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -193,7 +193,7 @@ impl MultiScreen { screens.push(Screen::from_line(line)); - } else if let Some(mut last) = screens.last_mut() { + } else if let Some(last) = screens.last_mut() { // Get the first thing let split = line.split_whitespace().collect::>(); diff --git a/src/tv.rs b/src/tv.rs index cfa1bd7..ffe00fe 100644 --- a/src/tv.rs +++ b/src/tv.rs @@ -1,6 +1,3 @@ -extern crate clap; -extern crate tvrs; - use clap::{Arg, App}; use tvrs::MultiScreen;