Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles Samuels committed Jul 11, 2024
1 parent 1cf90a3 commit a648a3b
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,17 +240,6 @@ fn main() -> std::io::Result<()> {

let shell = &std::env::var_os("SHELL").unwrap_or("sh".into());

struct CheckOnDrop(Child, BufWriter<ChildStdin>);
impl Drop for CheckOnDrop {
fn drop(&mut self) {
self.1.flush().unwrap();
let s = self.0.wait().unwrap();
if !s.success() {
panic!("parallel worker failed");
}
}
}

let subproc = || {
let mut child = Command::new(shell)
.arg("-c")
Expand Down

0 comments on commit a648a3b

Please sign in to comment.