unit: Group re-exports
As is customary group the public re-exports differently to other use statements and tell rustfmt to skip them. Refactor only, no logic changes.
This commit is contained in:
parent
d242125ae4
commit
d2a597c90d
|
@ -47,13 +47,15 @@ pub mod weight;
|
|||
|
||||
#[doc(inline)]
|
||||
pub use self::amount::{Amount, SignedAmount};
|
||||
#[cfg(feature = "alloc")]
|
||||
#[doc(inline)]
|
||||
#[rustfmt::skip]
|
||||
pub use self::{
|
||||
fee_rate::FeeRate,
|
||||
// ParseIntError is used by other modules, so we re-export it.
|
||||
#[cfg(feature = "alloc")]
|
||||
#[doc(inline)]
|
||||
pub use self::parse::ParseIntError;
|
||||
#[cfg(feature = "alloc")]
|
||||
#[doc(inline)]
|
||||
pub use self::{fee_rate::FeeRate, weight::Weight};
|
||||
parse::ParseIntError,
|
||||
weight::Weight
|
||||
};
|
||||
|
||||
#[rustfmt::skip]
|
||||
#[allow(unused_imports)]
|
||||
|
|
Loading…
Reference in New Issue