Skip to content

Commit

Permalink
Fix redox libstd leftover
Browse files Browse the repository at this point in the history
  • Loading branch information
ishitatsuyuki authored and ljedrz committed Jul 13, 2018
1 parent 1915cd1 commit 72e2c00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libstd/sys/redox/process.rs
Expand Up @@ -51,7 +51,7 @@ pub struct Command {
uid: Option<u32>,
gid: Option<u32>,
saw_nul: bool,
closures: Vec<Box<FnMut() -> io::Result<()> + Send + Sync>>,
closures: Vec<Box<dyn FnMut() -> io::Result<()> + Send + Sync>>,
stdin: Option<Stdio>,
stdout: Option<Stdio>,
stderr: Option<Stdio>,
Expand Down Expand Up @@ -122,7 +122,7 @@ impl Command {
}

pub fn before_exec(&mut self,
f: Box<FnMut() -> io::Result<()> + Send + Sync>) {
f: Box<dyn FnMut() -> io::Result<()> + Send + Sync>) {
self.closures.push(f);
}

Expand Down

0 comments on commit 72e2c00

Please sign in to comment.