chore: apply clippy suggestions

This commit is contained in:
Cheong Lau 2025-10-05 12:27:32 +10:00 committed by Michael Murphy
parent 34f55d6720
commit a27bb5e05d
34 changed files with 116 additions and 146 deletions

View file

@ -17,7 +17,7 @@ pub fn calendar<M>(
on_prev: impl Fn() -> M + 'static,
on_next: impl Fn() -> M + 'static,
first_day_of_week: Weekday,
) -> Calendar<M> {
) -> Calendar<'_, M> {
Calendar {
model,
on_select: Box::new(on_select),