style(rust): format core modules

This commit is contained in:
t8y2 committed 2026-05-28 19:23:49 +08:00
1 parent c124ce3b69
commit 2fbdffebf5
4 files changed
+9 -9

No files matched your search

+1 -4
View File
@@ -928,10 +928,7 @@ pub async fn execute_query_with_schema_and_max_rows(
max_rows: Option<usize>,
) -> Result<QueryResult, String> {
let client = pool.get().await.map_err(|e| e.to_string())?;
client
.execute(&format!("SET search_path TO {}", pg_quote_ident(schema)), &[])
.await
.map_err(pg_error_to_string)?;
client.execute(&format!("SET search_path TO {}", pg_quote_ident(schema)), &[]).await.map_err(pg_error_to_string)?;
let result = execute_query_with_max_rows_inner(&client, sql, max_rows).await;