aboutsummaryrefslogtreecommitdiff
path: root/core/sync
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2020-06-22 16:01:26 +0100
committergingerBill <bill@gingerbill.org>2020-06-22 16:01:26 +0100
commit0db1ebb4e5bf36a7c44b9119bcf3055a58fd6103 (patch)
tree3413a527bdc5c5eb3dad9064b69ddf8cbacd2149 /core/sync
parent0013033f9a859784659346a558feaa21b4093d34 (diff)
`-vet` `sync/channel.odin`
Diffstat (limited to 'core/sync')
-rw-r--r--core/sync/channel.odin2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/sync/channel.odin b/core/sync/channel.odin
index 832af9bf6..f870aff54 100644
--- a/core/sync/channel.odin
+++ b/core/sync/channel.odin
@@ -4,6 +4,8 @@ import "core:mem"
import "core:time"
import "core:math/rand"
+_, _ :: time, rand;
+
Channel :: struct(T: typeid) {
using internal: ^_Channel_Internal(T),
_: bool,