Skip to content

Commit 72e2c00

Browse files
ishitatsuyukiljedrz
authored andcommitted
Fix redox libstd leftover
1 parent 1915cd1 commit 72e2c00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/sys/redox/process.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ pub struct Command {
5151
uid: Option<u32>,
5252
gid: Option<u32>,
5353
saw_nul: bool,
54-
closures: Vec<Box<FnMut() -> io::Result<()> + Send + Sync>>,
54+
closures: Vec<Box<dyn FnMut() -> io::Result<()> + Send + Sync>>,
5555
stdin: Option<Stdio>,
5656
stdout: Option<Stdio>,
5757
stderr: Option<Stdio>,
@@ -122,7 +122,7 @@ impl Command {
122122
}
123123

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

0 commit comments

Comments
 (0)