From 419922e475777cd32bf2b47bd5d5e5db97a6d439 Mon Sep 17 00:00:00 2001 From: Kerollmops Date: Thu, 2 Jun 2022 13:38:23 +0200 Subject: [PATCH] Make clippy happy --- meilisearch-http/tests/common/index.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meilisearch-http/tests/common/index.rs b/meilisearch-http/tests/common/index.rs index 0a9b61d25..275bec4cd 100644 --- a/meilisearch-http/tests/common/index.rs +++ b/meilisearch-http/tests/common/index.rs @@ -228,7 +228,7 @@ impl Index<'_> { pub async fn update_distinct_attribute(&self, value: Value) -> (Value, StatusCode) { let url = format!( "/indexes/{}/settings/{}", - encode(self.uid.as_ref()).to_string(), + encode(self.uid.as_ref()), "distinct-attribute" ); self.service.put(url, value).await @@ -237,7 +237,7 @@ impl Index<'_> { pub async fn get_distinct_attribute(&self) -> (Value, StatusCode) { let url = format!( "/indexes/{}/settings/{}", - encode(self.uid.as_ref()).to_string(), + encode(self.uid.as_ref()), "distinct-attribute" ); self.service.get(url).await