mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 00:31:02 +00:00
fix clippy warnings
This commit is contained in:
@ -44,11 +44,7 @@ impl IndexMeta {
|
||||
let created_at = index.created_at(&txn)?;
|
||||
let updated_at = index.updated_at(&txn)?;
|
||||
let primary_key = index.primary_key(&txn)?.map(String::from);
|
||||
Ok(Self {
|
||||
primary_key,
|
||||
updated_at,
|
||||
created_at,
|
||||
})
|
||||
Ok(Self { created_at, updated_at, primary_key })
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user