From 791c5cd874d3932e72b55dcd3ecec0126275fe7f Mon Sep 17 00:00:00 2001 From: Tamo Date: Mon, 11 Sep 2023 17:02:01 +0200 Subject: [PATCH] makes clippy happy --- meilisearch/tests/common/mod.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/meilisearch/tests/common/mod.rs b/meilisearch/tests/common/mod.rs index 20acb3e4e..9ee9b755e 100644 --- a/meilisearch/tests/common/mod.rs +++ b/meilisearch/tests/common/mod.rs @@ -25,10 +25,9 @@ impl Value { } } -impl Into for serde_json::Value { - fn into(self) -> Value { - serde_json::json!(null); - Value(self) +impl From for Value { + fn from(value: serde_json::Value) -> Self { + Value(value) } }