Fix some warnings

This commit is contained in:
Joscha 2022-10-31 17:16:08 +01:00
parent 57da1026c2
commit c5a2e5dccb
10 changed files with 181 additions and 181 deletions

View file

@ -137,7 +137,7 @@ impl DateSpec {
}
}
impl<'a> CommandState<'a> {
impl CommandState<'_> {
pub fn eval_date_spec(&mut self, spec: DateSpec) -> Result<(), Error<FileSource>> {
let index = self.source.file();
if let Some(repeat) = &spec.repeat {