Fix linting issue.

This commit is contained in:
funilrys 2022-11-14 18:51:34 +01:00
parent 0a102d601c
commit e81b349658
No known key found for this signature in database
GPG Key ID: 0D8BFEF5515C00C6

View File

@ -106,7 +106,7 @@ impl Task {
pub fn processed_at(&self) -> Option<OffsetDateTime> { pub fn processed_at(&self) -> Option<OffsetDateTime> {
match self.events.last() { match self.events.last() {
Some(TaskEvent::Succeded { result: _, timestamp }) => Some(timestamp.clone()), Some(TaskEvent::Succeded { result: _, timestamp }) => Some(*timestamp),
_ => None, _ => None,
} }
} }