From 50300c4ad7eb92c13cc4c092f48e0ee26170606b Mon Sep 17 00:00:00 2001 From: "Dustin J. Mitchell" Date: Sun, 23 Jan 2022 15:31:58 +0000 Subject: [PATCH] remove empty conditional --- taskchampion/src/task/task.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/taskchampion/src/task/task.rs b/taskchampion/src/task/task.rs index 4b20cf60d..74b6854bf 100644 --- a/taskchampion/src/task/task.rs +++ b/taskchampion/src/task/task.rs @@ -265,7 +265,6 @@ impl<'r> TaskMut<'r> { /// Set the task's status. This also adds the task to the working set if the /// new status puts it in that set. pub fn set_status(&mut self, status: Status) -> anyhow::Result<()> { - if status == Status::Pending {} match status { Status::Pending => { // clear "end" when a task becomes "pending"