diff --git a/flexible_inspect_rs/src/rules/common_elements/range.rs b/flexible_inspect_rs/src/rules/common_elements/range.rs index a1e1359..67e60d5 100644 --- a/flexible_inspect_rs/src/rules/common_elements/range.rs +++ b/flexible_inspect_rs/src/rules/common_elements/range.rs @@ -1,5 +1,6 @@ use super::traits::RangeType; use super::*; +use std::fmt::Debug; use std::ops::RangeInclusive; #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] diff --git a/flexible_inspect_rs/src/rules/next/number_range_status.rs b/flexible_inspect_rs/src/rules/next/number_range_status.rs index 8aa9f40..a6c0cb0 100644 --- a/flexible_inspect_rs/src/rules/next/number_range_status.rs +++ b/flexible_inspect_rs/src/rules/next/number_range_status.rs @@ -4,7 +4,24 @@ pub fn number_range_status( rule: &R, captures: &mut CaptureData, ) -> NextStep { - - + if let Some(rng) = rule.get_range() { + match &rng.range { + range::RangeBoundaries::I32(inner_range) => { + + }, + range::RangeBoundaries::I64(inner_range) => { + + }, + range::RangeBoundaries::I128(inner_range) => { + + }, + range::RangeBoundaries::F32(inner_range) => { + + }, + range::RangeBoundaries::F64(inner_range) => { + + }, + } + } NextStep::Finish }