Typo in doc

This commit is contained in:
Yuriy Glukhov
2016-09-24 12:47:00 +03:00
committed by GitHub
parent aec88bb5d9
commit cb1231bf73

View File

@@ -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)``.