Skip to content

Commit 41c184b

Browse files
committed
silly incomplete commit
1 parent b693341 commit 41c184b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

threading/channels.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ proc recv*[T](c: Chan[T], dst: var T) {.inline.} =
392392
393393
proc recv*[T](c: Chan[T]): T {.inline.} =
394394
## Receives item from the channel (blocking).
395-
discard channelReceive(c, dst.addr, sizeof(dst), true)
395+
discard channelReceive(c, result.addr, sizeof(result), true)
396396
397397
proc recvIso*[T](c: Chan[T]): Isolated[T] {.inline.} =
398398
var dst: T

0 commit comments

Comments
 (0)