diff options
author | cyqsimon <28627918+cyqsimon@users.noreply.github.com> | 2023-11-05 10:39:44 +0800 |
---|---|---|
committer | cyqsimon <28627918+cyqsimon@users.noreply.github.com> | 2023-12-11 10:21:05 +0800 |
commit | 2c9bf229e1ac200d93c78b7b0e38c9f6e8bf3f41 (patch) | |
tree | 4d2f36810b0fe06fa605844c573dfc8e1f2bcc88 /build | |
parent | 822e81bb244e04f94f38af8c0f93b16294ad9020 (diff) |
Add doc comment for `BUILTIN_MAPPINGS`
Diffstat (limited to 'build')
-rw-r--r-- | build/syntax_mapping.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build/syntax_mapping.rs b/build/syntax_mapping.rs index a8c79948..bab38f16 100644 --- a/build/syntax_mapping.rs +++ b/build/syntax_mapping.rs @@ -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") ) } |