Skip to content

Commit

Permalink
fix!: Make PanicStyle non-exhaustive
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Apr 17, 2024
1 parent 45919c8 commit 2215653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ pub fn setup_panic(meta: impl Fn() -> Metadata) {
}

/// Style of panic to be used
#[allow(clippy::exhaustive_enums)]
#[non_exhaustive]
#[derive(Copy, Clone, PartialEq, Eq)]
pub enum PanicStyle {
/// Normal panic
Expand Down

0 comments on commit 2215653

Please sign in to comment.