Fix codegen type declaration

This commit is contained in:
cyqsimon committed 2023-12-11 10:20:11 +08:00
1 parent 77e491161c
commit 9f4259721a
1 file changed
+1 -1
+1 -1
View File
@@ -69,7 +69,7 @@ impl MappingList {
let len = array_items.len(); let len = array_items.len();
format!( 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") items = array_items.join(",\n")
) )
} }