mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-22 10:44:19 +01:00
fix clippy errors for rust 1.88.0 (manual fix)
This commit is contained in:
@@ -9,11 +9,11 @@ impl ToSqlString for ast::Update {
|
||||
with.to_sql_string(context)
|
||||
)),
|
||||
self.or_conflict
|
||||
.map_or("".to_string(), |conflict| format!("OR {} ", conflict)),
|
||||
.map_or("".to_string(), |conflict| format!("OR {conflict} ")),
|
||||
self.tbl_name.to_sql_string(context),
|
||||
self.indexed
|
||||
.as_ref()
|
||||
.map_or("".to_string(), |indexed| format!(" {}", indexed)),
|
||||
.map_or("".to_string(), |indexed| format!(" {indexed}")),
|
||||
self.sets
|
||||
.iter()
|
||||
.map(|set| set.to_sql_string(context))
|
||||
|
||||
Reference in New Issue
Block a user