From: Stephen Seo Date: Sat, 9 Jul 2022 13:57:29 +0000 (+0900) Subject: Fix omitted error handling branch in "match" stmt X-Git-Tag: 0.1.0~24 X-Git-Url: https://git.seodisparate.com/stephenseo/static/git-favicon.png?a=commitdiff_plain;h=5a16bc7ba0a511096912d6fd305296577d1d28d3;p=swaybar_info Fix omitted error handling branch in "match" stmt --- diff --git a/src/proc.rs b/src/proc.rs index d805bac..a867c6e 100644 --- a/src/proc.rs +++ b/src/proc.rs @@ -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, } }