aboutsummaryrefslogtreecommitdiff
path: root/src/gui/calendar.rs
diff options
context:
space:
mode:
authorJoris2024-11-17 14:23:15 +0100
committerJoris2024-11-17 14:23:15 +0100
commit0e75ef4efe27535f04b8f5bfc13b2165c3343781 (patch)
treecdae490293d94b74f45e47c59b4aba57b7316c41 /src/gui/calendar.rs
parent5f526ef14285b5fd2dc5892d6dd8b307981f743f (diff)
Fix clippy warnings1.3.0
Diffstat (limited to 'src/gui/calendar.rs')
-rw-r--r--src/gui/calendar.rs2
1 files changed, 1 insertions, 1 deletions
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 {