Skip to content

Commit fe62307

Browse files
committed
Move non-pub import into correct place
We have a non-public import that has snuck in below then public ones. This isn't caught by the formatter because we explicitly skip on the public exports.
1 parent 33ac206 commit fe62307

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

primitives/src/locktime/relative.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ use core::{convert, fmt};
1010
#[cfg(feature = "arbitrary")]
1111
use arbitrary::{Arbitrary, Unstructured};
1212
use internals::write_err;
13+
use units::{BlockHeight, BlockMtp};
1314

1415
use crate::Sequence;
1516

@@ -19,7 +20,6 @@ use crate::relative;
1920
#[rustfmt::skip] // Keep public re-exports separate.
2021
#[doc(inline)]
2122
pub use units::locktime::relative::{NumberOfBlocks, NumberOf512Seconds, TimeOverflowError, InvalidHeightError, InvalidTimeError};
22-
use units::{BlockHeight, BlockMtp};
2323

2424
#[deprecated(since = "TBD", note = "use `NumberOfBlocks` instead")]
2525
#[doc(hidden)]

0 commit comments

Comments
 (0)