Merge rust-bitcoin/rust-bitcoin#3496: Expose units::amount::ParseError

9e607bbbe2 Expose units::amount::ParseError (Casey Rodarmor)

Pull request description:

  Fixes #3490.

ACKs for top commit:
  tcharding:
    ACK 9e607bbbe2
  apoelstra:
    ACK 9e607bbbe2738340f04dae4fab6b35e642e98f38; successfully ran local tests

Tree-SHA512: 70e4e9fae82d5aa2467be1e703d219e64fc3ab24158f109b2f4e73fb4e84d7dabcdc8d75c2363284aeb1736b023f64e8f440a2965c3734241d7748af1ad7da22
This commit is contained in:
merge-script 2024-10-21 20:27:32 +00:00
commit 8de5432de9
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ pub mod amount {
#[rustfmt::skip] // Keep public re-exports separate.
#[doc(inline)]
pub use units::amount::{
Amount, CheckedSum, Denomination, Display, ParseAmountError, SignedAmount,
Amount, CheckedSum, Denomination, Display, ParseAmountError, ParseError, SignedAmount,
};
#[cfg(feature = "serde")]
pub use units::amount::serde;