STATIC_RULES => BUILTIN_MAPPINGS

This commit is contained in:
cyqsimon committed 2023-12-11 10:21:04 +08:00
1 parent 7e1fbcfe95
commit c016b462c0
1 file changed
+1 -1
+1 -1
View File
@@ -174,7 +174,7 @@ impl MappingList {
let len = array_items.len(); let len = array_items.len();
format!( format!(
"static STATIC_RULES: [(BuiltinMatcher, MappingTarget); {len}] = [\n{items}\n];", "static BUILTIN_MAPPINGS: [(BuiltinMatcher, MappingTarget); {len}] = [\n{items}\n];",
items = array_items.join(",\n") items = array_items.join(",\n")
) )
} }