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)]
|
#[doc(inline)]
|
||||||
pub use self::amount::{Amount, SignedAmount};
|
pub use self::amount::{Amount, SignedAmount};
|
||||||
// ParseIntError is used by other modules, so we re-export it.
|
|
||||||
#[cfg(feature = "alloc")]
|
#[cfg(feature = "alloc")]
|
||||||
#[doc(inline)]
|
#[doc(inline)]
|
||||||
pub use self::parse::ParseIntError;
|
#[rustfmt::skip]
|
||||||
#[cfg(feature = "alloc")]
|
pub use self::{
|
||||||
#[doc(inline)]
|
fee_rate::FeeRate,
|
||||||
pub use self::{fee_rate::FeeRate, weight::Weight};
|
// ParseIntError is used by other modules, so we re-export it.
|
||||||
|
parse::ParseIntError,
|
||||||
|
weight::Weight
|
||||||
|
};
|
||||||
|
|
||||||
#[rustfmt::skip]
|
#[rustfmt::skip]
|
||||||
#[allow(unused_imports)]
|
#[allow(unused_imports)]
|
||||||
|
|
Loading…
Reference in New Issue