Merge pull request #523 from lichuan6/master

fix: typo then => than
This commit is contained in:
Sunli 2021-05-25 18:51:56 +08:00 committed by GitHub
commit 7a28ce8015
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,
} }