Skip to content

Commit 1f863ab

Browse files
committed
Re-export the AmountEncoder
Re-export the `AmountEncoder` in the `amount` module so users do not have to reach into `unsigned`.
1 parent e81a4c2 commit 1f863ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

units/src/amount/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pub use self::error::AmountDecoderError;
4444
pub use self::error::{OutOfRangeError, ParseAmountError, ParseDenominationError, ParseError};
4545
#[doc(inline)]
4646
#[cfg(feature = "encoding")]
47-
pub use self::unsigned::AmountDecoder;
47+
pub use self::unsigned::{AmountDecoder, AmountEncoder};
4848

4949
/// A set of denominations in which amounts can be expressed.
5050
///

0 commit comments

Comments
 (0)