chore(lint): 修复 rust-1.97 clippy useless_borrows_in_formatting 告警
新版 clippy 在 format! 参数的冗余 & 上新增 lint(与 mimalloc 改动无关), 移除 export.rs 的 &table_name 以保持 make lint 零告警。
This commit is contained in:
parent
5b183007a7
commit
c2263e6bf1
@ -170,7 +170,7 @@ async fn export_sql(
|
||||
let vals: Vec<String> = (0..r.len()).map(|i| sql_quote_cell(r, i)).collect();
|
||||
out.push_str(&format!(
|
||||
"INSERT INTO {} {} VALUES ({});\n",
|
||||
&table_name,
|
||||
table_name,
|
||||
col_clause,
|
||||
vals.join(", ")
|
||||
));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user