Use 2018 edition for cargotest

This commit is contained in:
Hirokazu Hata 2019-02-03 21:32:59 +09:00
parent 2966fbc10d
commit 9f34d4b357
2 changed files with 3 additions and 0 deletions

View file

@ -2,6 +2,7 @@
name = "cargotest2"
version = "0.1.0"
authors = ["Brian Anderson <banderson@mozilla.com>"]
edition = "2018"
[[bin]]
name = "cargotest"

View file

@ -1,3 +1,5 @@
#![deny(rust_2018_idioms)]
use std::env;
use std::process::Command;
use std::path::{Path, PathBuf};