Skip to content

Commit

Permalink
More cleanup, remove most unsafe unwrap()s, use Match syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmeow committed Dec 24, 2023
1 parent 0581599 commit 3343efc
Show file tree
Hide file tree
Showing 2 changed files with 147 additions and 100 deletions.
4 changes: 2 additions & 2 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ pub enum Error {
#[error("Unable to decode hex value.")]
HexDecode,
#[cfg(feature = "iconforge")]
#[error("IconState error: {0}")]
IconState(String),
#[error("IconForge error: {0}")]
IconForge(String),
}

impl From<Utf8Error> for Error {
Expand Down
Loading

0 comments on commit 3343efc

Please sign in to comment.