]> git.lizzy.rs Git - rust.git/commitdiff
more formatting
authorRalf Jung <post@ralfj.de>
Sun, 3 Feb 2019 10:16:37 +0000 (11:16 +0100)
committerRalf Jung <post@ralfj.de>
Sun, 3 Feb 2019 10:16:37 +0000 (11:16 +0100)
src/libstd/sys/redox/process.rs
src/libstd/sys/unix/process/process_common.rs

index 9b85fa41a0a4f4624d6d4a9f6f62a5bc6edde241..62eb8cb23ab56078e832777d85011db613b959f1 100644 (file)
@@ -116,8 +116,10 @@ pub fn gid(&mut self, id: u32) {
         self.gid = Some(id);
     }
 
-    pub unsafe fn pre_exec(&mut self,
-                       f: Box<dyn FnMut() -> io::Result<()> + Send + Sync>) {
+    pub unsafe fn pre_exec(
+        &mut self,
+        f: Box<dyn FnMut() -> io::Result<()> + Send + Sync>,
+    ) {
         self.closures.push(f);
     }
 
index 9975064ca655fa45868f58dfab98692e4c385110..7fa256e59b2db294c5f1dc513ed4348716274893 100644 (file)
@@ -149,8 +149,10 @@ pub fn get_closures(&mut self) -> &mut Vec<Box<dyn FnMut() -> io::Result<()> + S
         &mut self.closures
     }
 
-    pub unsafe fn pre_exec(&mut self,
-                       f: Box<dyn FnMut() -> io::Result<()> + Send + Sync>) {
+    pub unsafe fn pre_exec(
+        &mut self,
+        f: Box<dyn FnMut() -> io::Result<()> + Send + Sync>,
+    ) {
         self.closures.push(f);
     }