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:
Tobin C. Harding 2025-05-08 05:02:15 +10:00
parent d557caf552
commit dca4266205
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 6 additions and 5 deletions

View File

@ -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
/// ///