Skip to content

Commit

Permalink
fix a typo (nim-lang#17417)
Browse files Browse the repository at this point in the history
* Revert "make system random work in VM"

* fix nim-lang#17380

* attempt to fix bug

* fix

* better

* fix

* a bit

* fix the leaks

* revert

* fix

* better

* follow up nim-lang#17391

* fix

* Update tchannels.nim

* Update tests/stdlib/tchannels.nim

* Update tchannels.nim

* fix a typo
  • Loading branch information
ringabout authored and ardek66 committed Mar 26, 2021
1 parent 2e74219 commit 2ac414e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/std/channels.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit 2ac414e

Please sign in to comment.