mirror of https://github.com/sharkdp/bat.git
Add doc comment for `BUILTIN_MAPPINGS`
This commit is contained in:
parent
822e81bb24
commit
2c9bf229e1
|
@ -174,7 +174,8 @@ impl MappingList {
|
|||
let len = array_items.len();
|
||||
|
||||
format!(
|
||||
"pub(crate) static BUILTIN_MAPPINGS: [(Lazy<Option<GlobMatcher>>, MappingTarget); {len}] = [\n{items}\n];",
|
||||
"/// Generated by build script from /src/syntax_mapping/builtins/.\n\
|
||||
pub(crate) static BUILTIN_MAPPINGS: [(Lazy<Option<GlobMatcher>>, MappingTarget); {len}] = [\n{items}\n];",
|
||||
items = array_items.join(",\n")
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue