aboutsummaryrefslogtreecommitdiff
path: root/core/unicode
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-06-26 15:42:57 +0100
committergingerBill <bill@gingerbill.org>2023-06-26 15:42:57 +0100
commit3dec55f009da4293aca870d50f7b15668c4bba7c (patch)
tree5a17ea392dd5795831e5104c7c8c5e3496356940 /core/unicode
parent00d60e28c2a3e3e3a2e8bf7617bd62c0f9b1aae8 (diff)
Replace `x in &y` Use `&v in y` syntax through core & vendor for `switch`/`for` statements
Diffstat (limited to 'core/unicode')
-rw-r--r--core/unicode/tools/generate_entity_table.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/unicode/tools/generate_entity_table.odin b/core/unicode/tools/generate_entity_table.odin
index 328ba9091..fb4e4c2a4 100644
--- a/core/unicode/tools/generate_entity_table.odin
+++ b/core/unicode/tools/generate_entity_table.odin
@@ -221,7 +221,7 @@ named_xml_entity_to_rune :: proc(name: string) -> (decoded: rune, ok: bool) {
delete(entity_map)
delete(names)
- for name in &names {
+ for &name in names {
free(&name)
}
}