Skip to content

Commit 26ed094

Browse files
committed
fixes comments
1 parent 9eb92f7 commit 26ed094

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/system/channels_builtin.nim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,14 +369,14 @@ proc sendImpl(q: PRawChannel, typ: PNimType, msg: pointer, noBlock: bool): bool
369369

370370
when defined(gcDestructors):
371371
proc send*[TMsg](c: var Channel[TMsg], msg: sink TMsg) {.inline.} =
372-
## Sends a message to a thread. `msg` is deeply copied.
372+
## Sends a message to a thread.
373373
discard sendImpl(cast[PRawChannel](addr c), cast[PNimType](getTypeInfo(msg)), unsafeAddr(msg), false)
374374
wasMoved(msg)
375375

376376
proc trySend*[TMsg](c: var Channel[TMsg], msg: sink TMsg): bool {.inline.} =
377377
## Tries to send a message to a thread.
378378
##
379-
## `msg` is deeply copied. Doesn't block.
379+
## Doesn't block.
380380
##
381381
## Returns `false` if the message was not sent because number of pending items
382382
## in the channel exceeded `maxItems`.

0 commit comments

Comments
 (0)