diff options
| author | gingerBill <bill@gingerbill.org> | 2023-08-08 14:56:12 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-08-08 14:56:12 +0100 |
| commit | 49ab935ae9268264fe40177690292ea890f6a7e3 (patch) | |
| tree | a39862556944b3637c2f1c3f9737a94bb0d37491 /examples | |
| parent | 939bf4bb5dd2c94f0e67d3193becf56ec9c7abf1 (diff) | |
Disallow `for in` in favour of `for _ in`
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/demo/demo.odin | 2 |
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) |