Skip to content

Commit 6175586

Browse files
committed
units: Re-export the AmountDecoder
As we do for other `signed` and `unsigned` types; re-export the `AmountDecoder` from the `amount` module.
1 parent d340c4d commit 6175586

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

units/src/amount/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ pub use self::{
3737
signed::SignedAmount,
3838
unsigned::Amount,
3939
};
40+
#[doc(inline)]
41+
#[cfg(feature = "encoding")]
42+
pub use self::unsigned::AmountDecoder;
4043
#[cfg(feature = "encoding")]
4144
#[doc(no_inline)]
4245
pub use self::error::AmountDecoderError;

0 commit comments

Comments
 (0)