style: apply cargo fmt workspace-wide

Pure formatting pass from `cargo fmt --all`. No logic changes. Separating
this out so the 1.9 release feature commits that follow show only their
intentional edits.
This commit is contained in:
2026-04-07 18:44:21 +01:00
parent 3915bcc1ec
commit 02a574b24e
102 changed files with 2467 additions and 1307 deletions

View File

@@ -80,7 +80,7 @@ impl SearchIndex for OpenSearchIndex {
.client
.indices()
.exists(opensearch::indices::IndicesExistsParts::Index(&[
&self.index_name,
&self.index_name
]))
.send()
.await

View File

@@ -1,6 +1,6 @@
use chrono::Utc;
use opensearch::http::transport::Transport;
use opensearch::OpenSearch;
use opensearch::http::transport::Transport;
use pretty_assertions::assert_eq;
use serde_json::json;
use uuid::Uuid;
@@ -60,7 +60,7 @@ async fn cleanup(provider: &OpenSearchIndex) {
.client()
.indices()
.delete(opensearch::indices::IndicesDeleteParts::Index(&[
provider.index_name(),
provider.index_name()
]))
.send()
.await;
@@ -164,7 +164,10 @@ async fn index_multiple_and_paginate() {
refresh_index(&provider).await;
// Search all, but skip 2 and take 2
let page = provider.search("Paginated workflow", 2, 2, &[]).await.unwrap();
let page = provider
.search("Paginated workflow", 2, 2, &[])
.await
.unwrap();
assert_eq!(page.total, 5);
assert_eq!(page.data.len(), 2);