diff --git a/meilisearch-schema/src/error.rs b/meilisearch-schema/src/error.rs index 8dcc0a7a4..331721e24 100644 --- a/meilisearch-schema/src/error.rs +++ b/meilisearch-schema/src/error.rs @@ -16,7 +16,7 @@ impl fmt::Display for Error { use self::Error::*; match self { FieldNameNotFound(field) => write!(f, "The field {:?} doesn't exist", field), - PrimaryKeyAlreadyPresent => write!(f, "The schema already have an primary key. It's impossible to update it"), + PrimaryKeyAlreadyPresent => write!(f, "A primary key is already present. It's impossible to update it"), MaxFieldsLimitExceeded => write!(f, "The maximum of possible reattributed field id has been reached"), } }