units: Update column width

Update column width inside the new `encapsulate` modules.

No content change.
This commit is contained in:
Tobin C. Harding 2025-04-08 14:19:38 +10:00
parent f7f1a0be8c
commit d5c08aef32
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
2 changed files with 4 additions and 4 deletions

View File

@ -13,8 +13,8 @@ use arbitrary::{Arbitrary, Unstructured};
mod encapsulate { mod encapsulate {
/// Fee rate. /// Fee rate.
/// ///
/// This is an integer newtype representing fee rate in `sat/kwu`. It provides protection against /// This is an integer newtype representing fee rate in `sat/kwu`. It provides protection
/// mixing up the types as well as basic formatting features. /// against mixing up the types as well as basic formatting features.
#[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)] #[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)]
pub struct FeeRate(u64); pub struct FeeRate(u64);

View File

@ -16,8 +16,8 @@ mod encapsulate {
/// The weight of a transaction or block. /// The weight of a transaction or block.
/// ///
/// This is an integer newtype representing [`Weight`] in `wu`. It provides protection against mixing /// This is an integer newtype representing [`Weight`] in `wu`. It provides protection
/// up types as well as basic formatting features. /// against mixing up types as well as basic formatting features.
#[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)] #[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
#[cfg_attr(feature = "serde", serde(transparent))] #[cfg_attr(feature = "serde", serde(transparent))]