Upgrade to Rust 2018
This commit is contained in:
parent
9c66045029
commit
26d56d7b92
|
@ -2,6 +2,7 @@
|
||||||
name = "tvrs"
|
name = "tvrs"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["Thomas Forgione <thomas@forgione.fr>"]
|
authors = ["Thomas Forgione <thomas@forgione.fr>"]
|
||||||
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
clap = "2.32.0"
|
clap = "2.32.0"
|
||||||
|
|
|
@ -193,7 +193,7 @@ impl MultiScreen {
|
||||||
|
|
||||||
screens.push(Screen::from_line(line));
|
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
|
// Get the first thing
|
||||||
let split = line.split_whitespace().collect::<Vec<_>>();
|
let split = line.split_whitespace().collect::<Vec<_>>();
|
||||||
|
|
Loading…
Reference in New Issue