process: Fix clippy warnings

This commit is contained in:
Ivan Petkov
2019-06-24 16:57:19 -07:00
parent caf43221b5
commit f16725ea9f
7 changed files with 60 additions and 46 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ fn run_test() {
let finished_clone = finished.clone();
thread::spawn(move || {
let _ = stream::iter_ok((0..2).into_iter())
let _ = stream::iter_ok(0..2)
.map(|i| Command::new("echo")
.arg(format!("I am spawned process #{}", i))
.stdin(Stdio::null())