style: 对跨实例同步移植代码执行 cargo fmt
Sync source to CNB / Sync Git ref (push) Has been cancelled

This commit is contained in:
AxTps committed 2026-10-04 07:42:48 +08:00
1 parent 6e9485c2f5
commit fae16a0184
21 files changed
+35 -40

No files matched your search

+1 -1
View File
@@ -65,4 +65,4 @@ pub(crate) async fn load_game_option_preferences(
pool: &SqlitePool,
) -> crate::Result<HashMap<String, StoredPreference>> {
Ok(sqlx::query("SELECT option_id, enabled, revision FROM synced_game_option_preferences").fetch_all(pool).await?.into_iter().map(|r| { let option_id: String = r.get("option_id"); let enabled: bool = r.get("enabled"); let revision: i64 = r.get("revision"); (option_id, StoredPreference { enabled, revision: revision.max(0) as u64 }) }).collect())
}
}