Skip to content

Commit

Permalink
Mark ImageType as non-exhaustive
Browse files Browse the repository at this point in the history
  • Loading branch information
Roughsketch committed Jun 17, 2024
1 parent 2280315 commit c5f58ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ impl From<std::io::Error> for ImageError {
pub type ImageResult<T> = Result<T, ImageError>;

/// Types of image formats that this crate can identify.
#[non_exhaustive]
#[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub enum ImageType {
/// Animated sprite image format
Expand Down

0 comments on commit c5f58ea

Please sign in to comment.