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.
cargo fix
1 parent 7ed1351 commit 5c1454aCopy full SHA for 5c1454a
src/reader.rs
@@ -97,7 +97,7 @@ impl error::Error for ReadError {
97
}
98
99
100
- fn cause(&self) -> Option<&error::Error> {
+ fn cause(&self) -> Option<&dyn error::Error> {
101
match *self {
102
ReadError::Format(_) => None,
103
ReadError::Io(ref err) => Some(err),
src/writer.rs
@@ -52,7 +52,7 @@ impl error::Error for WriteError {
52
53
54
55
56
57
WriteError::ExceededMaxSize => None,
58
WriteError::Io(ref err) => Some(err),
0 commit comments