Fix omitted error handling branch in "match" stmt
This commit is contained in:
parent
49e50371a7
commit
5a16bc7ba0
1 changed files with 1 additions and 0 deletions
|
@ -51,6 +51,7 @@ impl std::error::Error for Error {
|
|||
match self {
|
||||
Error::IO(e) => e.source(),
|
||||
Error::ParseInt(e) => e.source(),
|
||||
Error::Format(e) => e.source(),
|
||||
_ => None,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue