Skip to content

Commit

Permalink
fix: fix redundant #[non_exhaustive] attributes on enum variants (#9309)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdqst authored Feb 28, 2025
1 parent 29ed501 commit 797ba62
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions zebra-script/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,16 @@ use zebra_chain::{
#[non_exhaustive]
pub enum Error {
/// script verification failed
#[non_exhaustive]
ScriptInvalid,
/// could not deserialize tx
#[non_exhaustive]
TxDeserialize,
/// input index out of bounds
#[non_exhaustive]
TxIndex,
/// tx has an invalid size
#[non_exhaustive]
TxSizeMismatch,
/// tx is a coinbase transaction and should not be verified
#[non_exhaustive]
TxCoinbase,
/// unknown error from zcash_script: {0}
#[non_exhaustive]
Unknown(zcash_script_error_t),
}

Expand Down

0 comments on commit 797ba62

Please sign in to comment.