mirror of https://git.sr.ht/~stygianentity/bincode
Remove dyn
This commit is contained in:
parent
c48a064bad
commit
3a3857ff38
|
|
@ -58,7 +58,7 @@ impl StdError for ErrorKind {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn cause(&self) -> Option<&dyn error::Error> {
|
fn cause(&self) -> Option<&error::Error> {
|
||||||
match *self {
|
match *self {
|
||||||
ErrorKind::Io(ref err) => Some(err),
|
ErrorKind::Io(ref err) => Some(err),
|
||||||
ErrorKind::InvalidUtf8Encoding(_) => None,
|
ErrorKind::InvalidUtf8Encoding(_) => None,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue