diff options
author | Shawn Smith <shawnpsmith@gmail.com> | 2016-02-06 20:35:29 +0900 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2016-02-23 13:58:47 +0000 |
commit | 58ec5839cd9c210dc7ad727a6b1f743ea6233ddf (patch) | |
tree | 86001a86364eab438da4f0c28942bac07221a235 /src/runtime/chan.go | |
parent | abf4696ede52ebd980605b10034f39af32ac5d90 (diff) | |
download | go-58ec5839cd9c210dc7ad727a6b1f743ea6233ddf.tar.gz go-58ec5839cd9c210dc7ad727a6b1f743ea6233ddf.zip |
all: fix typos
Change-Id: I6035941df8b0de6aeaf6c05df7257bcf6e9191fe
Reviewed-on: https://go-review.googlesource.com/19320
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/runtime/chan.go')
-rw-r--r-- | src/runtime/chan.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/chan.go b/src/runtime/chan.go index 5be18beb23..063c5ce391 100644 --- a/src/runtime/chan.go +++ b/src/runtime/chan.go @@ -421,7 +421,7 @@ func chanrecv(t *chantype, c *hchan, ep unsafe.Pointer, block bool) (selected, r if sg := c.sendq.dequeue(); sg != nil { // Found a waiting sender. If buffer is size 0, receive value - // directly from sender. Otherwise, recieve from head of queue + // directly from sender. Otherwise, receive from head of queue // and add sender's value to the tail of the queue (both map to // the same buffer slot because the queue is full). recv(c, sg, ep, func() { unlock(&c.lock) }) |