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:
parent
83e002a318
commit
60fc7e986b
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue