From 4ccecf5decfead9818b74fbdee73115c349e2f3e Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Mon, 12 May 2025 12:57:08 +1000 Subject: [PATCH] Fix stale Height type link `units::locktime::relative::Height` type is now deprecated, use the new name in rustdoc. --- units/src/block.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/units/src/block.rs b/units/src/block.rs index 778fb1bea..4c832f18e 100644 --- a/units/src/block.rs +++ b/units/src/block.rs @@ -127,7 +127,7 @@ impl_u32_wrapper! { /// Block interval is an integer type representing a difference between the heights of two blocks. /// /// This type is not meant for constructing relative height based timelocks. It is a general - /// purpose block interval abstraction. For locktimes please see [`locktime::relative::Height`]. + /// purpose block interval abstraction. For locktimes please see [`locktime::relative::NumberOfBlocks`]. #[derive(Debug, Default, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] // Public to try and make it really clear that there are no invariants.