mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
clippy + fmt
This commit is contained in:
parent
d65f055030
commit
2665c0099d
11 changed files with 26 additions and 21 deletions
|
@ -15,7 +15,7 @@ impl Service {
|
|||
&self.meilisearch,
|
||||
true,
|
||||
&self.options,
|
||||
analytics::MockAnalytics::new(&self.options)
|
||||
analytics::MockAnalytics::new(&self.options).0
|
||||
))
|
||||
.await;
|
||||
|
||||
|
@ -41,7 +41,7 @@ impl Service {
|
|||
&self.meilisearch,
|
||||
true,
|
||||
&self.options,
|
||||
analytics::MockAnalytics::new(&self.options)
|
||||
analytics::MockAnalytics::new(&self.options).0
|
||||
))
|
||||
.await;
|
||||
|
||||
|
@ -63,7 +63,7 @@ impl Service {
|
|||
&self.meilisearch,
|
||||
true,
|
||||
&self.options,
|
||||
analytics::MockAnalytics::new(&self.options)
|
||||
analytics::MockAnalytics::new(&self.options).0
|
||||
))
|
||||
.await;
|
||||
|
||||
|
@ -81,7 +81,7 @@ impl Service {
|
|||
&self.meilisearch,
|
||||
true,
|
||||
&self.options,
|
||||
analytics::MockAnalytics::new(&self.options)
|
||||
analytics::MockAnalytics::new(&self.options).0
|
||||
))
|
||||
.await;
|
||||
|
||||
|
@ -102,7 +102,7 @@ impl Service {
|
|||
&self.meilisearch,
|
||||
true,
|
||||
&self.options,
|
||||
analytics::MockAnalytics::new(&self.options)
|
||||
analytics::MockAnalytics::new(&self.options).0
|
||||
))
|
||||
.await;
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ async fn error_json_bad_content_type() {
|
|||
&server.service.meilisearch,
|
||||
true,
|
||||
&server.service.options,
|
||||
analytics::MockAnalytics::new(&server.service.options)
|
||||
analytics::MockAnalytics::new(&server.service.options).0
|
||||
))
|
||||
.await;
|
||||
for route in routes {
|
||||
|
|
|
@ -20,7 +20,7 @@ async fn add_documents_test_json_content_types() {
|
|||
&server.service.meilisearch,
|
||||
true,
|
||||
&server.service.options,
|
||||
analytics::MockAnalytics::new(&server.service.options)
|
||||
analytics::MockAnalytics::new(&server.service.options).0
|
||||
))
|
||||
.await;
|
||||
// post
|
||||
|
@ -65,7 +65,7 @@ async fn error_add_documents_test_bad_content_types() {
|
|||
&server.service.meilisearch,
|
||||
true,
|
||||
&server.service.options,
|
||||
analytics::MockAnalytics::new(&server.service.options)
|
||||
analytics::MockAnalytics::new(&server.service.options).0
|
||||
))
|
||||
.await;
|
||||
// post
|
||||
|
@ -132,7 +132,7 @@ async fn error_add_documents_test_no_content_type() {
|
|||
&server.service.meilisearch,
|
||||
true,
|
||||
&server.service.options,
|
||||
analytics::MockAnalytics::new(&server.service.options)
|
||||
analytics::MockAnalytics::new(&server.service.options).0
|
||||
))
|
||||
.await;
|
||||
// post
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue