summary refs log tree commit diff
path: root/sys_util/src/write_zeroes.rs
diff options
context:
space:
mode:
Diffstat (limited to 'sys_util/src/write_zeroes.rs')
-rw-r--r--sys_util/src/write_zeroes.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys_util/src/write_zeroes.rs b/sys_util/src/write_zeroes.rs
index bc26254..31ea652 100644
--- a/sys_util/src/write_zeroes.rs
+++ b/sys_util/src/write_zeroes.rs
@@ -60,7 +60,8 @@ mod tests {
             .read(true)
             .write(true)
             .create(true)
-            .open(&path).unwrap();
+            .open(&path)
+            .unwrap();
         f.set_len(16384).unwrap();
 
         // Write buffer of non-zero bytes to offset 1234
@@ -125,7 +126,8 @@ mod tests {
             .read(true)
             .write(true)
             .create(true)
-            .open(&path).unwrap();
+            .open(&path)
+            .unwrap();
         f.set_len(16384).unwrap();
 
         // Write buffer of non-zero bytes