Add non_exhaustive to SignError
Errors that may have variants added/removed should have `non_exhaustive` on them.
This commit is contained in:
parent
04976eddcf
commit
2867acfffa
|
@ -659,6 +659,7 @@ pub enum SigningAlgorithm {
|
|||
|
||||
/// Errors encountered while calculating the sighash message.
|
||||
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Clone)]
|
||||
#[non_exhaustive]
|
||||
pub enum SignError {
|
||||
/// Input index out of bounds (actual index, maximum index allowed).
|
||||
IndexOutOfBounds(usize, usize),
|
||||
|
|
Loading…
Reference in New Issue