Skip to content

Commit 866b343

Browse files
committed
Remove deprecated impls for IoError
1 parent c031c7a commit 866b343

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

src/io/mod.rs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -37,21 +37,6 @@ impl fmt::Display for IoError {
3737
}
3838

3939
impl Error for IoError {
40-
fn description(&self) -> &str {
41-
match *self {
42-
IoError::Io(ref err) => err.description(),
43-
IoError::BadMatrixMarketFile => "bad matrix market file",
44-
IoError::UnsupportedMatrixMarketFormat => "unsupported format",
45-
}
46-
}
47-
48-
fn cause(&self) -> Option<&dyn Error> {
49-
match *self {
50-
IoError::Io(ref err) => Some(err),
51-
IoError::BadMatrixMarketFile => None,
52-
IoError::UnsupportedMatrixMarketFormat => None,
53-
}
54-
}
5540
}
5641

5742
impl From<io::Error> for IoError {

0 commit comments

Comments
 (0)