aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-08-08 14:56:12 +0100
committergingerBill <bill@gingerbill.org>2023-08-08 14:56:12 +0100
commit49ab935ae9268264fe40177690292ea890f6a7e3 (patch)
treea39862556944b3637c2f1c3f9737a94bb0d37491 /examples
parent939bf4bb5dd2c94f0e67d3193becf56ec9c7abf1 (diff)
Disallow `for in` in favour of `for _ in`
Diffstat (limited to 'examples')
-rw-r--r--examples/demo/demo.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/demo/demo.odin b/examples/demo/demo.odin
index 030446b1b..e9e0a8d63 100644
--- a/examples/demo/demo.odin
+++ b/examples/demo/demo.odin
@@ -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)