Upgrade to Rust 2018

This commit is contained in:
Thomas Forgione 2018-12-10 14:50:41 +01:00
parent 9c66045029
commit 26d56d7b92
No known key found for this signature in database
GPG Key ID: 203DAEA747F48F41
3 changed files with 2 additions and 4 deletions

View File

@ -2,6 +2,7 @@
name = "tvrs"
version = "0.1.0"
authors = ["Thomas Forgione <thomas@forgione.fr>"]
edition = "2018"
[dependencies]
clap = "2.32.0"

View File

@ -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::<Vec<_>>();

View File

@ -1,6 +1,3 @@
extern crate clap;
extern crate tvrs;
use clap::{Arg, App};
use tvrs::MultiScreen;