From ff20249bdc1eb344c00f92503a105e79521aca21 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Fri, 1 Nov 2024 17:49:13 +1100 Subject: [PATCH] Remove unneeded feature gate We can use the `parse::hex_remove_optional_prefix` now without the feature gate. --- units/src/locktime/absolute.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/units/src/locktime/absolute.rs b/units/src/locktime/absolute.rs index 6f87b21bd..8407eaece 100644 --- a/units/src/locktime/absolute.rs +++ b/units/src/locktime/absolute.rs @@ -6,9 +6,7 @@ use core::fmt; use internals::error::InputString; -use crate::parse::ParseIntError; -#[cfg(feature = "alloc")] -use crate::parse; +use crate::parse::{self, ParseIntError}; /// The Threshold for deciding whether a lock time value is a height or a time (see [Bitcoin Core]). ///