aboutsummaryrefslogtreecommitdiff
path: root/codegen/lib
diff options
context:
space:
mode:
Diffstat (limited to 'codegen/lib')
-rw-r--r--codegen/lib/code/tags.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/codegen/lib/code/tags.py b/codegen/lib/code/tags.py
index 9bacc3d5..d3e561df 100644
--- a/codegen/lib/code/tags.py
+++ b/codegen/lib/code/tags.py
@@ -18,7 +18,7 @@ use crate::{struct_name};
for tag_name, tag in sorted(registries.items(), key=lambda x: x[0]):
tag_name = tag_name.replace("/", "_")
static_set_name = to_snake_case(tag_name).upper()
- generated += f"pub static {static_set_name}: LazyLock<HashSet<{struct_name}>> = LazyLock::new(|| HashSet::from_iter(vec!["
+ generated += f"pub static {static_set_name}: LazyLock<HashSet<{struct_name}>> = LazyLock::new(|| HashSet::from_iter(["
queue = tag["values"].copy()
while queue != []: