style: 恢复 hook 后 Rust 格式化

This commit is contained in:
Illuminated2020 committed 2026-05-12 16:49:29 +08:00
1 parent 5b62f936d1
commit feff43c459
8 files changed
+52 -40

No files matched your search

+1 -5
View File
@@ -165,11 +165,7 @@ pub async fn execute_query(pool: &SqlitePool, sql: &str) -> Result<QueryResult,
execute_query_with_row_limit(pool, sql, crate::query::MAX_ROWS).await
}
pub async fn execute_query_with_row_limit(
pool: &SqlitePool,
sql: &str,
row_limit: usize,
) -> Result<QueryResult, String> {
pub async fn execute_query_with_row_limit(pool: &SqlitePool, sql: &str, row_limit: usize) -> Result<QueryResult, String> {
let start = Instant::now();
let row_limit = row_limit.max(1);