We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffd9966 commit c5edc70Copy full SHA for c5edc70
src/libstd/io/mod.rs
@@ -293,7 +293,7 @@ pub type IoResult<T> = Result<T, IoError>;
293
/// # FIXME
294
///
295
/// Is something like this sufficient? It's kind of archaic
296
-#[deriving(PartialEq, Clone)]
+#[deriving(PartialEq, Eq, Clone)]
297
pub struct IoError {
298
/// An enumeration which can be matched against for determining the flavor
299
/// of error.
@@ -435,7 +435,7 @@ impl fmt::Show for IoError {
435
}
436
437
/// A list specifying general categories of I/O error.
438
-#[deriving(PartialEq, Clone, Show)]
+#[deriving(PartialEq, Eq, Clone, Show)]
439
pub enum IoErrorKind {
440
/// Any I/O error not part of this list.
441
OtherIoError,
0 commit comments