Skip to content

Commit 3913009

Browse files
committed
fix comment of RangeRule
1 parent 2d37c5a commit 3913009

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rule/number/range.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
macro_rules! define_range_rule {
22
($t: ty) => {
33
$crate::paste::item! {
4-
/// A type that holds a value satisfying the `MinMaxRule`
4+
/// A type that holds a value satisfying the `RangeRule`
55
pub type [<Range $t:camel>]<const FROM: $t, const UNTIL: $t> = $crate::Refined<[<RangeRule $t:camel>]<FROM, UNTIL>>;
66

7-
/// Rule where the target value must be greater than or equal to `MIN` and less than `MAX`
7+
/// Rule where the target value must be greater than or equal to `FROM` and less than `UNTIL`
88
pub type [<RangeRule $t:camel>]<const FROM: $t, const UNTIL: $t> = $crate::And![
99
$crate::rule::[<GreaterEqualRule $t:camel>]<FROM>,
1010
$crate::rule::[<LessRule $t:camel>]<UNTIL>

0 commit comments

Comments
 (0)