chore: make sure errors aren't capitalized
This commit is contained in:
parent
cd556f2481
commit
19ea27c38d
|
@ -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(),
|
||||||
)),
|
)),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue