summary refs log tree commit diff stats
path: root/lib/system
diff options
context:
space:
mode:
Diffstat (limited to 'lib/system')
-rw-r--r--lib/system/channels.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/channels.nim b/lib/system/channels.nim
index 0c97bc8db..4b8b895a5 100644
--- a/lib/system/channels.nim
+++ b/lib/system/channels.nim
@@ -242,7 +242,7 @@ proc recv*[TMsg](c: var Channel[TMsg]): TMsg =
 
 proc tryRecv*[TMsg](c: var Channel[TMsg]): tuple[dataAvailable: bool,
                                                   msg: TMsg] =
-  ## try to receives a message from the channel `c`, but this can fail
+  ## Tries to receive a message from the channel `c`, but this can fail
   ## for all sort of reasons, including contention. If it fails,
   ## it returns ``(false, default(msg))`` otherwise it
   ## returns ``(true, msg)``.