From 2c9bf229e1ac200d93c78b7b0e38c9f6e8bf3f41 Mon Sep 17 00:00:00 2001 From: cyqsimon <28627918+cyqsimon@users.noreply.github.com> Date: Sun, 5 Nov 2023 10:39:44 +0800 Subject: [PATCH] Add doc comment for `BUILTIN_MAPPINGS` --- build/syntax_mapping.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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>, MappingTarget); {len}] = [\n{items}\n];", + "/// Generated by build script from /src/syntax_mapping/builtins/.\n\ + pub(crate) static BUILTIN_MAPPINGS: [(Lazy>, MappingTarget); {len}] = [\n{items}\n];", items = array_items.join(",\n") ) }