fix missing imports

This commit is contained in:
Robin Bergewski
2025-04-13 16:33:25 +02:00
parent 19eb53c321
commit ec71a5afb1
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -165,6 +165,8 @@ Creates a buffered version of the specified `Chan` type.
Example:
import "core:sync/chan"
create_buffered_example :: proc() {
c, err := chan.create_buffered(chan.Chan(int), 10, context.allocator)
assert(err == .None)