remove empty conditional
This commit is contained in:
@@ -265,7 +265,6 @@ impl<'r> TaskMut<'r> {
|
|||||||
/// Set the task's status. This also adds the task to the working set if the
|
/// Set the task's status. This also adds the task to the working set if the
|
||||||
/// new status puts it in that set.
|
/// new status puts it in that set.
|
||||||
pub fn set_status(&mut self, status: Status) -> anyhow::Result<()> {
|
pub fn set_status(&mut self, status: Status) -> anyhow::Result<()> {
|
||||||
if status == Status::Pending {}
|
|
||||||
match status {
|
match status {
|
||||||
Status::Pending => {
|
Status::Pending => {
|
||||||
// clear "end" when a task becomes "pending"
|
// clear "end" when a task becomes "pending"
|
||||||
|
|||||||
Reference in New Issue
Block a user