mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 16:51:01 +00:00
Cargo clippy pass
This commit is contained in:
@ -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());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user