mirror of
https://github.com/sharkdp/bat.git
synced 2024-11-21 23:33:26 +01:00
STATIC_RULES
=> BUILTIN_MAPPINGS
This commit is contained in:
parent
7e1fbcfe95
commit
c016b462c0
@ -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")
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user