mirror of
https://github.com/sharkdp/bat.git
synced 2024-11-24 08:43:25 +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();
|
let len = array_items.len();
|
||||||
|
|
||||||
format!(
|
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")
|
items = array_items.join(",\n")
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user