about summary refs log tree commit diff
path: root/src/libstd/io/pipe.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/io/pipe.rs')
-rw-r--r--src/libstd/io/pipe.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/io/pipe.rs b/src/libstd/io/pipe.rs
index 34d8bf96aa2..75791164b89 100644
--- a/src/libstd/io/pipe.rs
+++ b/src/libstd/io/pipe.rs
@@ -73,12 +73,12 @@ mod test {
         let (p, c) = Chan::new();
         spawn(proc() {
             let mut out = out;
-            out.write([10]);
+            out.write([10]).unwrap();
             p.recv(); // don't close the pipe until the other read has finished
         });
 
         let mut buf = [0, ..10];
-        input.read(buf);
+        input.read(buf).unwrap();
         c.send(());
     })
 }