Clippy improvements

This commit is contained in:
NG (Graham) committed 2026-08-09 18:12:08 -04:00
1 parent 52dc0519fb
commit 3963a2b4de
12 files changed
+20 -29

No files matched your search

+2 -2
View File
@@ -37,7 +37,7 @@ impl ArcAdapter {
fn thumbnail_url(&self, meta: String, id: u32) -> String {
if self.override_cdn && id <= 7_946_212 {
format!("{}/roboshop/arc/Live/{}", &self.cdn, id)
format!("{}/roboshop/arc/Live/{}", self.cdn, id)
} else {
meta
}
@@ -281,7 +281,7 @@ impl crate::VehicleFactoryAdapter for ArcAdapter {
}.insert(&transaction).await?;
super::entities::robot_metadata::ActiveModel {
id: Set(cubes.id),
thumbnail: Set(format!("{}/roboshop/Live/{}", &self.cdn, cubes.id)),
thumbnail: Set(format!("{}/roboshop/Live/{}", self.cdn, cubes.id)),
..Default::default()
}.update(&transaction).await?;
transaction.commit().await?;