From 9ed6b48806a40fe177de6cc2b3f3a332f5c07623 Mon Sep 17 00:00:00 2001 From: Bel LaPointe <153096461+breel-render@users.noreply.github.com> Date: Tue, 2 Dec 2025 17:36:29 -0700 Subject: [PATCH] shhhh warning --- pttodoest/src/main.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pttodoest/src/main.rs b/pttodoest/src/main.rs index ac58b1d..7a94006 100755 --- a/pttodoest/src/main.rs +++ b/pttodoest/src/main.rs @@ -203,10 +203,9 @@ impl File { if !after.contains(before) { self.append(Delta::remove_at(before.clone(), now))?; let now = Delta::now_time(); - if let due = before.must_next_due(now.clone()) { - if due >= now { - self.append(Delta::add_at(before.clone(), due))?; - } + let due = before.must_next_due(now.clone()); + if due >= now { + self.append(Delta::add_at(before.clone(), due))?; } } }