1
0
mirror of https://github.com/sharkdp/bat.git synced 2024-10-05 18:31:06 +01:00

Fix codegen type declaration

This commit is contained in:
cyqsimon 2023-11-02 16:42:41 +08:00
parent 77e491161c
commit 9f4259721a
No known key found for this signature in database
GPG Key ID: 1D8CE2F297390D65

View File

@ -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")
)
}