From 0e75ef4efe27535f04b8f5bfc13b2165c3343781 Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 17 Nov 2024 14:23:15 +0100 Subject: Fix clippy warnings --- src/gui/calendar.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/calendar.rs') diff --git a/src/gui/calendar.rs b/src/gui/calendar.rs index 5181116..5a91996 100644 --- a/src/gui/calendar.rs +++ b/src/gui/calendar.rs @@ -193,7 +193,7 @@ pub fn day_entry( fn day_label(today: NaiveDate, date: NaiveDate) -> gtk::Label { let label = gtk::Label::builder() - .label(&format!( + .label(format!( "{} {}", date.day(), if date == today || date.day() == 1 { -- cgit v1.2.3