Fix feature build.

This commit is contained in:
Stephen Chung 2021-02-19 23:48:11 +08:00
parent 182fc2c3d1
commit 5285dad1a8

View File

@ -42,8 +42,6 @@ where
Ok(StepRange::<T>(from, to, step))
}
#[cfg(not(feature = "only_i32"))]
#[cfg(not(feature = "only_i64"))]
macro_rules! reg_range {
($lib:expr, $x:expr, $( $y:ty ),*) => (
$(
@ -58,8 +56,6 @@ macro_rules! reg_range {
)
}
#[cfg(not(feature = "only_i32"))]
#[cfg(not(feature = "only_i64"))]
macro_rules! reg_stepped_range {
($lib:expr, $x:expr, $( $y:ty ),*) => (
$(