Fix codegen type declaration

pull/2755/head
cyqsimon 7 months ago
parent 77e491161c
commit 9f4259721a
No known key found for this signature in database
GPG Key ID: 1D8CE2F297390D65

@ -69,7 +69,7 @@ impl MappingList {
let len = array_items.len();
format!(
"static STATIC_RULES: [(&'static str, &'static str); {len}] = [\n{items}\n];",
"static STATIC_RULES: [(&str, MappingTarget); {len}] = [\n{items}\n];",
items = array_items.join(",\n")
)
}

Loading…
Cancel
Save