mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-22 21:04:27 +01:00
Fix linting issues.
This commit is contained in:
parent
06e7db7a1f
commit
079357ee1f
@ -182,8 +182,8 @@ impl V4IndexReader {
|
||||
let metadata = IndexMetadata {
|
||||
uid: name,
|
||||
primary_key: meta.primary_key,
|
||||
created_at: created_at.unwrap_or(OffsetDateTime::now_utc()),
|
||||
updated_at: updated_at.unwrap_or(OffsetDateTime::now_utc()),
|
||||
created_at: created_at.unwrap_or_else(OffsetDateTime::now_utc),
|
||||
updated_at: updated_at.unwrap_or_else(OffsetDateTime::now_utc),
|
||||
};
|
||||
|
||||
let ret = V4IndexReader {
|
||||
|
Loading…
Reference in New Issue
Block a user