Error -> BuildError, add PartialEq, Eq to SpendError

This commit is contained in:
Hazel OHearn 2022-12-01 17:01:10 -04:00
parent 8c2326cdac
commit 6e8e2734e1
No known key found for this signature in database
GPG Key ID: 8B008A957E71F0F8
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ pub enum BuildError {
} }
/// An error type for adding a spend to the builder. /// An error type for adding a spend to the builder.
#[derive(Debug)] #[derive(Debug, PartialEq, Eq)]
pub enum SpendError { pub enum SpendError {
/// Spends aren't enabled for this builder. /// Spends aren't enabled for this builder.
SpendsDisabled, SpendsDisabled,