mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
fix clippy
This commit is contained in:
parent
5fb3f700c0
commit
36c51d2d93
1 changed files with 3 additions and 3 deletions
|
@ -261,9 +261,9 @@ impl<'r> TaskMut<'r> {
|
|||
if !self.updated_modified {
|
||||
let now = format!("{}", Utc::now().timestamp());
|
||||
trace!("task {}: set property modified={:?}", self.task.uuid, now);
|
||||
self.task.taskmap =
|
||||
self.replica
|
||||
.update_task(self.task.uuid, "modified", Some(now.clone()))?;
|
||||
self.task.taskmap = self
|
||||
.replica
|
||||
.update_task(self.task.uuid, "modified", Some(now))?;
|
||||
self.updated_modified = true;
|
||||
}
|
||||
Ok(())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue