Fix omitted error handling branch in "match" stmt

This commit is contained in:
Stephen Seo 2022-07-09 22:57:29 +09:00
parent 49e50371a7
commit 5a16bc7ba0

View file

@ -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,
}
}