Skip to content

Commit

Permalink
Fix error string for unsupported color type (#2191)
Browse files Browse the repository at this point in the history
  • Loading branch information
fintelia committed Mar 31, 2024
1 parent 4594c80 commit 318ed0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ impl fmt::Display for UnsupportedError {
}
UnsupportedErrorKind::Color(color) => write!(
fmt,
"The decoder for {} does not support the color type `{:?}`",
"The encoder or decoder for {} does not support the color type `{:?}`",
self.format, color,
),
UnsupportedErrorKind::GenericFeature(message) => match &self.format {
Expand Down

0 comments on commit 318ed0a

Please sign in to comment.