style: 恢复 hook 后 Rust 格式化
This commit is contained in:
1 parent
5b62f936d1
commit
feff43c459
8 files changed
+52
-40
No files matched your search
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user