diff --git a/bitcoin/src/blockdata/script/push_bytes.rs b/bitcoin/src/blockdata/script/push_bytes.rs index 76fe46f1..99f5ccbf 100644 --- a/bitcoin/src/blockdata/script/push_bytes.rs +++ b/bitcoin/src/blockdata/script/push_bytes.rs @@ -14,7 +14,7 @@ use crate::prelude::*; /// break invariants. Therefore auditing this module should be sufficient. mod primitive { use core::convert::{TryFrom, TryInto}; - #[cfg(feature = "rust_v_1_53")] + #[cfg(rust_v_1_53)] use core::ops::Bound; use core::ops::{ Index, Range, RangeFrom, RangeFull, RangeInclusive, RangeTo, RangeToInclusive, @@ -105,7 +105,7 @@ mod primitive { RangeInclusive, RangeToInclusive ); - #[cfg(feature = "rust_v_1_53")] + #[cfg(rust_v_1_53)] delegate_index!((Bound, Bound)); impl Index for PushBytes {