mirror of
https://github.com/sharkdp/bat.git
synced 2024-12-27 16:58:50 +01:00
Fix codegen type declaration
This commit is contained in:
parent
77e491161c
commit
9f4259721a
@ -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")
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user