chore(): more of the same

This commit is contained in:
kaosat.dev 2024-08-13 02:21:53 +02:00
parent 792672c2ef
commit d15a9b7176
1 changed files with 4 additions and 4 deletions

View File

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