chore: make sure errors aren't capitalized

This commit is contained in:
gibbz00 2024-10-21 16:32:48 +02:00 committed by Dirkjan Ochtman
parent cd556f2481
commit 19ea27c38d
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ impl PeriodLength {
match length { match length {
1..=99 => Ok(Self(length)), 1..=99 => Ok(Self(length)),
0 | 100.. => Err(Error::Other( 0 | 100.. => Err(Error::Other(
"Period length must be greater than 0 and less than 100".into(), "period length must be greater than 0 and less than 100".into(),
)), )),
} }
} }