fix: typo then => than

This commit is contained in:
Lichuan Shang 2021-05-25 18:20:41 +08:00 committed by x
parent 620fb274d5
commit 0b7957dfea

View File

@ -26,9 +26,9 @@ impl InputValueValidator for IntRange {
} }
} }
/// Integer less then validator /// Integer less than validator
pub struct IntLessThan { pub struct IntLessThan {
/// Less then this value. /// Less than this value.
pub value: i64, pub value: i64,
} }
@ -48,9 +48,9 @@ impl InputValueValidator for IntLessThan {
} }
} }
/// Integer greater then validator /// Integer greater than validator
pub struct IntGreaterThan { pub struct IntGreaterThan {
/// Greater then this value. /// Greater than this value.
pub value: i64, pub value: i64,
} }