Fix link to use new name
Use `NumberOfBlocks` not the `Height` alias. Fixes link.
This commit is contained in:
parent
ebf92fcb01
commit
70221ffa08
|
@ -30,7 +30,7 @@ impl NumberOfBlocks {
|
||||||
#[inline]
|
#[inline]
|
||||||
pub const fn from_height(blocks: u16) -> Self { Self(blocks) }
|
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]
|
#[inline]
|
||||||
#[must_use]
|
#[must_use]
|
||||||
pub const fn to_height(self) -> u16 { self.0 }
|
pub const fn to_height(self) -> u16 { self.0 }
|
||||||
|
|
Loading…
Reference in New Issue