diff --git a/units/src/weight.rs b/units/src/weight.rs index c59c18393..31da7274c 100644 --- a/units/src/weight.rs +++ b/units/src/weight.rs @@ -19,7 +19,7 @@ mod encapsulate { /// The weight of a transaction or block. /// /// This is an integer newtype representing weight in weight units. It provides protection - /// against mixing up types as well as basic formatting features. + /// against mixing up the types, conversion functions, and basic formatting. #[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)] pub struct Weight(u64); @@ -37,7 +37,7 @@ mod encapsulate { pub use encapsulate::Weight; impl Weight { - /// 0 wu. + /// Zero weight units (wu). /// /// Equivalent to [`MIN`](Self::MIN), may better express intent in some contexts. pub const ZERO: Weight = Weight::from_wu(0);