chore(): more of the same

This commit is contained in:
kaosat.dev 2024-08-13 02:21:53 +02:00
parent 792672c2ef
commit d15a9b7176

View File

@ -229,8 +229,9 @@ fn add_min_max(
field_index: usize, field_index: usize,
variant_index: Option<usize>, variant_index: Option<usize>,
) -> Value { ) -> Value {
#[cfg(feature = "support-inspector")]
fn get_min_max(
/*fn get_min_max(
reg: &TypeRegistration, reg: &TypeRegistration,
field_index: usize, field_index: usize,
variant_index: Option<usize>, variant_index: Option<usize>,
@ -252,9 +253,8 @@ fn add_min_max(
}) })
.and_then(|o| o.downcast_ref::<NumberOptions<f32>>()) .and_then(|o| o.downcast_ref::<NumberOptions<f32>>())
.map(|num| (num.min, num.max)) .map(|num| (num.min, num.max))
} }*/
#[cfg(not(feature = "support-inspector"))]
fn get_min_max( fn get_min_max(
_reg: &TypeRegistration, _reg: &TypeRegistration,
_field_index: usize, _field_index: usize,