From d5c08aef32edeaa3f9b8c7c9c5c246ac49890de7 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Tue, 8 Apr 2025 14:19:38 +1000 Subject: [PATCH] units: Update column width Update column width inside the new `encapsulate` modules. No content change. --- units/src/fee_rate/mod.rs | 4 ++-- units/src/weight.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/units/src/fee_rate/mod.rs b/units/src/fee_rate/mod.rs index f1e348186..276d33db4 100644 --- a/units/src/fee_rate/mod.rs +++ b/units/src/fee_rate/mod.rs @@ -13,8 +13,8 @@ use arbitrary::{Arbitrary, Unstructured}; mod encapsulate { /// Fee rate. /// - /// This is an integer newtype representing fee rate in `sat/kwu`. It provides protection against - /// mixing up the types as well as basic formatting features. + /// This is an integer newtype representing fee rate in `sat/kwu`. It provides protection + /// against mixing up the types as well as basic formatting features. #[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)] pub struct FeeRate(u64); diff --git a/units/src/weight.rs b/units/src/weight.rs index 876a26311..2bfbc9ad5 100644 --- a/units/src/weight.rs +++ b/units/src/weight.rs @@ -16,8 +16,8 @@ mod encapsulate { /// The weight of a transaction or block. /// - /// This is an integer newtype representing [`Weight`] in `wu`. It provides protection against mixing - /// up types as well as basic formatting features. + /// This is an integer newtype representing [`Weight`] in `wu`. It provides protection + /// against mixing up types as well as basic formatting features. #[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] #[cfg_attr(feature = "serde", serde(transparent))]