about summary refs log tree commit diff
path: root/src/libcore/os.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/os.rs')
-rw-r--r--src/libcore/os.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libcore/os.rs b/src/libcore/os.rs
index 97715c41f92..5c73e45364b 100644
--- a/src/libcore/os.rs
+++ b/src/libcore/os.rs
@@ -313,7 +313,8 @@ pub fn waitpid(pid: pid_t) -> c_int {
         use libc::funcs::posix01::wait::*;
         let mut status = 0 as c_int;
 
-        fail_unless!((waitpid(pid, &mut status, 0 as c_int) != (-1 as c_int)));
+        fail_unless!((waitpid(pid, &mut status, 0 as c_int) !=
+                     (-1 as c_int)));
         return status;
     }
 }
@@ -1309,7 +1310,8 @@ mod tests {
     #[test]
     fn path_exists() {
         fail_unless!((os::path_exists(&Path("."))));
-        fail_unless!((!os::path_exists(&Path("test/nonexistent-bogus-path"))));
+        fail_unless!((!os::path_exists(&Path(
+                     "test/nonexistent-bogus-path"))));
     }
 
     #[test]