Skip to content

Commit

Permalink
Make decimal::ParseError clonable
Browse files Browse the repository at this point in the history
  • Loading branch information
ImplOfAnImpl committed Aug 30, 2024
1 parent 4aebefb commit ed7ad48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/src/primitives/amount/decimal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ impl std::fmt::Display for DecimalAmount {
}
}

#[derive(thiserror::Error, Debug, PartialEq, Eq)]
#[derive(thiserror::Error, Debug, Clone, PartialEq, Eq)]
pub enum ParseError {
#[error("Resulting number is too big")]
OutOfRange,
Expand Down

0 comments on commit ed7ad48

Please sign in to comment.