From c016b462c0ef2cc155db4d8215c9b6b8488fb7e3 Mon Sep 17 00:00:00 2001 From: cyqsimon <28627918+cyqsimon@users.noreply.github.com> Date: Sat, 4 Nov 2023 21:47:13 +0800 Subject: [PATCH] `STATIC_RULES` => `BUILTIN_MAPPINGS` --- build/syntax_mapping.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/syntax_mapping.rs b/build/syntax_mapping.rs index b8595e87..ccbadbd8 100644 --- a/build/syntax_mapping.rs +++ b/build/syntax_mapping.rs @@ -174,7 +174,7 @@ impl MappingList { let len = array_items.len(); format!( - "static STATIC_RULES: [(BuiltinMatcher, MappingTarget); {len}] = [\n{items}\n];", + "static BUILTIN_MAPPINGS: [(BuiltinMatcher, MappingTarget); {len}] = [\n{items}\n];", items = array_items.join(",\n") ) }