Skip to content

Commit 33ee99b

Browse files
committed
more formatting
1 parent 59da97d commit 33ee99b

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

src/libstd/sys/redox/process.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,10 @@ impl Command {
116116
self.gid = Some(id);
117117
}
118118

119-
pub unsafe fn pre_exec(&mut self,
120-
f: Box<dyn FnMut() -> io::Result<()> + Send + Sync>) {
119+
pub unsafe fn pre_exec(
120+
&mut self,
121+
f: Box<dyn FnMut() -> io::Result<()> + Send + Sync>,
122+
) {
121123
self.closures.push(f);
122124
}
123125

src/libstd/sys/unix/process/process_common.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,10 @@ impl Command {
149149
&mut self.closures
150150
}
151151

152-
pub unsafe fn pre_exec(&mut self,
153-
f: Box<dyn FnMut() -> io::Result<()> + Send + Sync>) {
152+
pub unsafe fn pre_exec(
153+
&mut self,
154+
f: Box<dyn FnMut() -> io::Result<()> + Send + Sync>,
155+
) {
154156
self.closures.push(f);
155157
}
156158

0 commit comments

Comments
 (0)