about summary refs log tree commit diff
path: root/src/libcore/io.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/io.rs')
-rw-r--r--src/libcore/io.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/io.rs b/src/libcore/io.rs
index 483c96206b5..a9d83194713 100644
--- a/src/libcore/io.rs
+++ b/src/libcore/io.rs
@@ -337,6 +337,7 @@ impl WriterType: Eq {
             (Screen, _) | (File, _) => false
         }
     }
+    pure fn ne(&&other: WriterType) -> bool { !self.eq(other) }
 }
 
 // FIXME (#2004): Seekable really should be orthogonal.