diff --git a/units/src/locktime/relative.rs b/units/src/locktime/relative.rs index 5edafe01e..418852dc9 100644 --- a/units/src/locktime/relative.rs +++ b/units/src/locktime/relative.rs @@ -30,7 +30,7 @@ impl NumberOfBlocks { #[inline] pub const fn from_height(blocks: u16) -> Self { Self(blocks) } - /// Express the [`Height`] as a count of blocks. + /// Express the [`NumberOfBlocks`] as a count of blocks. #[inline] #[must_use] pub const fn to_height(self) -> u16 { self.0 }