From c39b358518f225445142f74d2594f09c53ae2734 Mon Sep 17 00:00:00 2001 From: Thomas Payet Date: Mon, 20 Jul 2020 14:42:47 +0200 Subject: [PATCH] Update error.rs --- meilisearch-core/src/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meilisearch-core/src/error.rs b/meilisearch-core/src/error.rs index cf6340bff..1df2419f1 100644 --- a/meilisearch-core/src/error.rs +++ b/meilisearch-core/src/error.rs @@ -158,7 +158,7 @@ impl fmt::Display for Error { SchemaMissing => write!(f, "this index does not have a schema"), SerdeJson(e) => write!(f, "serde json error; {}", e), Serializer(e) => write!(f, "serializer error; {}", e), - VersionMismatch(version) => write!(f, "Cannot open database, expected MeiliSearch engine version: {}, currrent engine version: {}.{}.{}", + VersionMismatch(version) => write!(f, "Cannot open database, expected MeiliSearch engine version: {}, current engine version: {}.{}.{}", version, env!("CARGO_PKG_VERSION_MAJOR"), env!("CARGO_PKG_VERSION_MINOR"),