From a6fd0110b65ec352603d69b9c4ccf3532689cd32 Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 18 Dec 2022 15:03:51 +0100 Subject: Upgrade dependencies --- src/gui/calendar.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/calendar.rs') diff --git a/src/gui/calendar.rs b/src/gui/calendar.rs index f5f9c10..c80efef 100644 --- a/src/gui/calendar.rs +++ b/src/gui/calendar.rs @@ -65,7 +65,8 @@ fn attach_days( 1, 1, ); - d = d.succ(); + // TODO: error handling + d = d.succ_opt().unwrap(); } } } -- cgit v1.2.3