Skip to content

Commit 70221ff

Browse files
committed
Fix link to use new name
Use `NumberOfBlocks` not the `Height` alias. Fixes link.
1 parent ebf92fc commit 70221ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

units/src/locktime/relative.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ impl NumberOfBlocks {
3030
#[inline]
3131
pub const fn from_height(blocks: u16) -> Self { Self(blocks) }
3232

33-
/// Express the [`Height`] as a count of blocks.
33+
/// Express the [`NumberOfBlocks`] as a count of blocks.
3434
#[inline]
3535
#[must_use]
3636
pub const fn to_height(self) -> u16 { self.0 }

0 commit comments

Comments
 (0)