fix use cfg

This commit is contained in:
Jane Lusby 2020-10-29 18:03:00 -07:00 committed by Deirdre Connolly
parent 4bfe747f34
commit a21ddfeefc
1 changed files with 3 additions and 5 deletions

View File

@ -4,14 +4,12 @@ use color_eyre::{
};
use tracing::instrument;
#[cfg(unix)]
use std::os::unix::process::ExitStatusExt;
use std::{convert::Infallible as NoDir, io::BufRead};
use std::{
fmt::Write as _,
io::{BufReader, Lines},
};
#[cfg(unix)]
use std::{io::Read, os::unix::process::ExitStatusExt};
use std::{
io::{BufReader, Lines, Read},
path::Path,
process::{Child, ChildStdout, Command, ExitStatus, Output, Stdio},
time::{Duration, Instant},