We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1915cd1 commit 72e2c00Copy full SHA for 72e2c00
src/libstd/sys/redox/process.rs
@@ -51,7 +51,7 @@ pub struct Command {
51
uid: Option<u32>,
52
gid: Option<u32>,
53
saw_nul: bool,
54
- closures: Vec<Box<FnMut() -> io::Result<()> + Send + Sync>>,
+ closures: Vec<Box<dyn FnMut() -> io::Result<()> + Send + Sync>>,
55
stdin: Option<Stdio>,
56
stdout: Option<Stdio>,
57
stderr: Option<Stdio>,
@@ -122,7 +122,7 @@ impl Command {
122
}
123
124
pub fn before_exec(&mut self,
125
- f: Box<FnMut() -> io::Result<()> + Send + Sync>) {
+ f: Box<dyn FnMut() -> io::Result<()> + Send + Sync>) {
126
self.closures.push(f);
127
128
0 commit comments