Disallow for in in favour of for _ in

This commit is contained in:
gingerBill
2023-08-08 14:56:12 +01:00
parent 939bf4bb5d
commit 49ab935ae9
7 changed files with 13 additions and 10 deletions
+1 -1
View File
@@ -1155,7 +1155,7 @@ threading_example :: proc() {
threads := make([dynamic]^thread.Thread, 0, len(prefix_table))
defer delete(threads)
for in prefix_table {
for _ in prefix_table {
if t := thread.create(worker_proc); t != nil {
t.init_context = context
t.user_index = len(threads)