mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-30 17:14:59 +08:00
Make clippy happy
They're a happy clip now.
This commit is contained in:
parent
1e464e87fc
commit
f5454dfa60
@ -693,7 +693,7 @@ pub(crate) mod date_deserializer {
|
|||||||
DeserializeDateOption::Before => Ok(datetime),
|
DeserializeDateOption::Before => Ok(datetime),
|
||||||
DeserializeDateOption::After => {
|
DeserializeDateOption::After => {
|
||||||
let datetime =
|
let datetime =
|
||||||
datetime.checked_add(Duration::days(1)).unwrap_or_else(|| datetime);
|
datetime.checked_add(Duration::days(1)).unwrap_or(datetime);
|
||||||
Ok(datetime)
|
Ok(datetime)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user