Fix codegen type declaration

This commit is contained in:
cyqsimon 2023-11-02 16:42:41 +08:00
parent 77e491161c
commit 9f4259721a
No known key found for this signature in database
GPG Key ID: 1D8CE2F297390D65
1 changed files with 1 additions and 1 deletions

View File

@ -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")
)
}