fix: clippy warnings
All checks were successful
Release / Build and Release (push) Successful in 6s
Continuous Integration / Lint, Check & Test (push) Successful in 1m26s
Continuous Integration / Build Package (push) Successful in 1m36s

This commit is contained in:
Konstantin Fickel 2026-04-07 13:43:40 +02:00
parent 5dca68037d
commit e562af0dc3
Signed by: kfickel
GPG key ID: A793722F9933C1A5
2 changed files with 3 additions and 1 deletions

View file

@ -146,7 +146,7 @@ pub fn extract_datetime_from_marker_list(
};
let naive = NaiveDateTime::new(final_date, final_time);
naive_to_utc(naive, tz).unwrap_or_else(|| inherited_datetime)
naive_to_utc(naive, tz).unwrap_or(inherited_datetime)
}
#[cfg(test)]