summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2016-09-24 13:41:54 +0200
committerGitHub <noreply@github.com>2016-09-24 13:41:54 +0200
commit7a107dc24592077295baca5b5944861783b1b92f (patch)
tree1e782fd652122346e3bafd4fe6c75bd368921d0c
parentaec88bb5d9d4b6b5e80d667ecb192d33b2a6c3d5 (diff)
parentcb1231bf73b7688dd6ffc1bca8f691bdbee78cf2 (diff)
downloadNim-7a107dc24592077295baca5b5944861783b1b92f.tar.gz
Merge pull request #4826 from yglukhov/patch-1
Typo in doc
-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)``.