diff options
Diffstat (limited to 'codegen')
| -rw-r--r-- | codegen/lib/code/tags.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/codegen/lib/code/tags.py b/codegen/lib/code/tags.py index 40b60ae3..ae409001 100644 --- a/codegen/lib/code/tags.py +++ b/codegen/lib/code/tags.py @@ -16,7 +16,7 @@ use crate::{struct_name}; ''' - for tag_name, tag in registries.items(): + 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}: Lazy<HashSet<{struct_name}>> = Lazy::new(|| HashSet::from_iter(vec