Skip to content

Commit 153a6a2

Browse files
committed
Make Weight docs uniform with FeeRate
1 parent c87f729 commit 153a6a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

units/src/weight.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ mod encapsulate {
1919
/// The weight of a transaction or block.
2020
///
2121
/// This is an integer newtype representing weight in weight units. It provides protection
22-
/// against mixing up types as well as basic formatting features.
22+
/// against mixing up the types, conversion functions, and basic formatting.
2323
#[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)]
2424
pub struct Weight(u64);
2525

@@ -37,7 +37,7 @@ mod encapsulate {
3737
pub use encapsulate::Weight;
3838

3939
impl Weight {
40-
/// 0 wu.
40+
/// Zero weight units (wu).
4141
///
4242
/// Equivalent to [`MIN`](Self::MIN), may better express intent in some contexts.
4343
pub const ZERO: Weight = Weight::from_wu(0);

0 commit comments

Comments
 (0)