summary refs log tree commit diff stats
path: root/lib/system
diff options
context:
space:
mode:
authorGrant <gavares@gmail.com>2018-08-09 00:40:21 -0700
committerAndreas Rumpf <rumpf_a@web.de>2018-08-09 09:40:21 +0200
commit98225ca207e4057c1da7966430d0699c0151e3e7 (patch)
tree0b9e3c7cea4a65058d42ad97e45fe18a33175be6 /lib/system
parentbccaa36aba64d2424ceedc9723d5ec01534dde94 (diff)
downloadNim-98225ca207e4057c1da7966430d0699c0151e3e7.tar.gz
Update channels.nim (#8583)
Fix typo in channels.nim
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 254b87dfc..14d3a3005 100644
--- a/lib/system/channels.nim
+++ b/lib/system/channels.nim
@@ -233,7 +233,7 @@ proc send*[TMsg](c: var Channel[TMsg], msg: TMsg) {.inline.} =
 proc trySend*[TMsg](c: var Channel[TMsg], msg: TMsg): bool {.inline.} =
   ## Tries to send a message to a thread. `msg` is deeply copied. Doesn't block.
   ## Returns `false` if the message was not sent because number of pending items
-  ## in the cannel exceeded `maxItems`.
+  ## in the channel exceeded `maxItems`.
   sendImpl(cast[PRawChannel](addr c), cast[PNimType](getTypeInfo(msg)), unsafeAddr(msg), true)
 
 proc llRecv(q: PRawChannel, res: pointer, typ: PNimType) =
9c1bc611a1fc9'>^
4de84024e ^
e25474154 ^
5b28d0820 ^
e25474154 ^




03724c295 ^

1acc7a09c ^
e25474154 ^



3005955d2 ^


c51763915 ^
e25474154 ^


5b28d0820 ^
e25474154 ^


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52