mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-13 06:43:52 +00:00
fix a typo (#17417)
* Revert "make system random work in VM" * fix #17380 * attempt to fix bug * fix * better * fix * a bit * fix the leaks * revert * fix * better * follow up #17391 * fix * Update tchannels.nim * Update tests/stdlib/tchannels.nim * Update tchannels.nim * fix a typo
This commit is contained in:
@@ -473,7 +473,7 @@ func send*[T](c: Channel[T], src: sink Isolated[T]) {.inline.} =
|
||||
discard sendMpmc(c.d, data.addr, sizeof(T), false)
|
||||
wasMoved(data)
|
||||
|
||||
template send*[T](c: var Channel[T]; src: T) =
|
||||
template send*[T](c: Channel[T]; src: T) =
|
||||
## Helper templates for `send`.
|
||||
send(c, isolate(src))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user