about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-07-14 04:01:26 +0000
committerbors <bors@rust-lang.org>2014-07-14 04:01:26 +0000
commit996263a01589c5d2bd2a5ad559abac267296ad71 (patch)
tree6b0c2e4109c7215bb12c26ce36af8e9f7d9d2074 /src/libstd
parent0a1e251e81b0849fa5bd86b6fe0f2f5312d50bb5 (diff)
parentc5edc70fadd136c0e0b1fe402fbb3170e94458aa (diff)
downloadrust-996263a01589c5d2bd2a5ad559abac267296ad71.tar.gz
rust-996263a01589c5d2bd2a5ad559abac267296ad71.zip
auto merge of #15653 : erickt/rust/master, r=alexcrichton
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/io/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs
index db4df7a8a6f..6ac092fd8c6 100644
--- a/src/libstd/io/mod.rs
+++ b/src/libstd/io/mod.rs
@@ -293,7 +293,7 @@ pub type IoResult<T> = Result<T, IoError>;
 /// # FIXME
 ///
 /// Is something like this sufficient? It's kind of archaic
-#[deriving(PartialEq, Clone)]
+#[deriving(PartialEq, Eq, Clone)]
 pub struct IoError {
     /// An enumeration which can be matched against for determining the flavor
     /// of error.
@@ -435,7 +435,7 @@ impl fmt::Show for IoError {
 }
 
 /// A list specifying general categories of I/O error.
-#[deriving(PartialEq, Clone, Show)]
+#[deriving(PartialEq, Eq, Clone, Show)]
 pub enum IoErrorKind {
     /// Any I/O error not part of this list.
     OtherIoError,