diff --git a/build/syntax_mapping.rs b/build/syntax_mapping.rs index 7fb86a86..778fc8ad 100644 --- a/build/syntax_mapping.rs +++ b/build/syntax_mapping.rs @@ -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") ) }