Skip to content

Commit

Permalink
feat(Rules): Supporting f32 and f64 for range
Browse files Browse the repository at this point in the history
  • Loading branch information
JulesGuesnon committed Oct 10, 2023
1 parent 1c2a13f commit 9ec58fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion garde/src/rules/range.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ macro_rules! impl_for_int {
};
}

impl_for_int!(u8, u16, u32, u64, usize, u128, i8, i16, i32, i64, isize, i128);
impl_for_int!(u8, u16, u32, u64, usize, u128, i8, i16, i32, i64, isize, i128, f32, f64);

impl<T: Bounds> Bounds for Option<T> {
type Size = T::Size;
Expand Down

0 comments on commit 9ec58fe

Please sign in to comment.