mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-26 14:54:27 +01:00
Fix linting issue.
This commit is contained in:
parent
0a102d601c
commit
e81b349658
@ -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,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user