units: Fix rustdoc column width
We've done a bit of renaming which has adversely effected rustdoc column width, fix it up.
This commit is contained in:
parent
d557caf552
commit
dca4266205
|
@ -1,6 +1,7 @@
|
||||||
// SPDX-License-Identifier: CC0-1.0
|
// SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
//! Provides [`NumberOfBlocks`] and [`NumberOf512Seconds`] types used by the `rust-bitcoin` `relative::LockTime` type.
|
//! Provides [`NumberOfBlocks`] and [`NumberOf512Seconds`] types used by the
|
||||||
|
//! `rust-bitcoin` `relative::LockTime` type.
|
||||||
|
|
||||||
use core::fmt;
|
use core::fmt;
|
||||||
|
|
||||||
|
@ -123,8 +124,8 @@ impl NumberOf512Seconds {
|
||||||
#[must_use]
|
#[must_use]
|
||||||
pub const fn to_512_second_intervals(self) -> u16 { self.0 }
|
pub const fn to_512_second_intervals(self) -> u16 { self.0 }
|
||||||
|
|
||||||
/// Constructs a new [`NumberOf512Seconds`] from seconds, converting the seconds into 512 second interval with
|
/// Constructs a new [`NumberOf512Seconds`] from seconds, converting the seconds into 512 second
|
||||||
/// truncating division.
|
/// interval with truncating division.
|
||||||
///
|
///
|
||||||
/// # Errors
|
/// # Errors
|
||||||
///
|
///
|
||||||
|
@ -140,8 +141,8 @@ impl NumberOf512Seconds {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Constructs a new [`NumberOf512Seconds`] from seconds, converting the seconds into 512 second intervals with
|
/// Constructs a new [`NumberOf512Seconds`] from seconds, converting the seconds into 512 second
|
||||||
/// ceiling division.
|
/// intervals with ceiling division.
|
||||||
///
|
///
|
||||||
/// # Errors
|
/// # Errors
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in New Issue