about summary refs log tree commit diff
path: root/src/libstd/rt/io/pipe.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/rt/io/pipe.rs')
-rw-r--r--src/libstd/rt/io/pipe.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/rt/io/pipe.rs b/src/libstd/rt/io/pipe.rs
index 251795ab238..d2cd531ed26 100644
--- a/src/libstd/rt/io/pipe.rs
+++ b/src/libstd/rt/io/pipe.rs
@@ -64,7 +64,7 @@ impl Reader for PipeStream {
         }
     }
 
-    fn eof(&mut self) -> bool { fail2!() }
+    fn eof(&mut self) -> bool { fail!() }
 }
 
 impl Writer for PipeStream {
@@ -77,5 +77,5 @@ impl Writer for PipeStream {
         }
     }
 
-    fn flush(&mut self) { fail2!() }
+    fn flush(&mut self) { fail!() }
 }