style(import-fifa17): rustfmt the club-family classifier and its tests

This commit is contained in:
funman300
2026-08-21 20:47:05 +00:00
parent 4b66906adc
commit 43aa114bcd
2 changed files with 16 additions and 18 deletions
+10 -9
View File
@@ -1312,15 +1312,16 @@ pub fn emit_content(
// cannot derive the right kind (it is FIFA17 taxonomy), so hand it the
// mapping. Players are included too: a definition that was mis-set stays
// correctable, and a rerun changes nothing.
let assignments: Vec<serde_json::Value> = report
.definitions
.supported
.iter()
.map(|d| serde_json::json!({ "card_id": d.card_id, "content_kind": "player" }))
.chain(report.non_player.supported.iter().map(|d| {
serde_json::json!({ "card_id": d.card_id, "content_kind": d.kind.as_str() })
}))
.collect();
let assignments: Vec<serde_json::Value> =
report
.definitions
.supported
.iter()
.map(|d| serde_json::json!({ "card_id": d.card_id, "content_kind": "player" }))
.chain(report.non_player.supported.iter().map(
|d| serde_json::json!({ "card_id": d.card_id, "content_kind": d.kind.as_str() }),
))
.collect();
let reclassify = content_dir.join("fifa17-reclassify.json");
write_json_pretty(
&reclassify,