We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d37c5a commit 3913009Copy full SHA for 3913009
src/rule/number/range.rs
@@ -1,10 +1,10 @@
1
macro_rules! define_range_rule {
2
($t: ty) => {
3
$crate::paste::item! {
4
- /// A type that holds a value satisfying the `MinMaxRule`
+ /// A type that holds a value satisfying the `RangeRule`
5
pub type [<Range $t:camel>]<const FROM: $t, const UNTIL: $t> = $crate::Refined<[<RangeRule $t:camel>]<FROM, UNTIL>>;
6
7
- /// Rule where the target value must be greater than or equal to `MIN` and less than `MAX`
+ /// Rule where the target value must be greater than or equal to `FROM` and less than `UNTIL`
8
pub type [<RangeRule $t:camel>]<const FROM: $t, const UNTIL: $t> = $crate::And![
9
$crate::rule::[<GreaterEqualRule $t:camel>]<FROM>,
10
$crate::rule::[<LessRule $t:camel>]<UNTIL>
0 commit comments