mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Cargo clippy pass
This commit is contained in:
parent
ca26a0f2e4
commit
9dce41ed6b
16 changed files with 82 additions and 66 deletions
|
@ -7,7 +7,7 @@ pub fn apply_schema_update(
|
|||
main_store: store::Main,
|
||||
new_schema: &Schema,
|
||||
) -> MResult<()> {
|
||||
if let Some(_) = main_store.schema(writer)? {
|
||||
if main_store.schema(writer)?.is_some() {
|
||||
return Err(UnsupportedOperation::SchemaAlreadyExists.into());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue