Skip to content

Commit 73bd93d

Browse files
author
Zhaoyang
authored
Update channel.md
1 parent ba6346e commit 73bd93d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

channel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ func chansend(c *hchan, ep unsafe.Pointer, block bool, callerpc uintptr) bool {
305305
}
306306

307307
// qcount 是 buffer 中已塞进的元素数量
308-
// dataqsize 是 buffer 的总大小
308+
// dataqsiz 是 buffer 的总大小
309309
// 说明还有余量
310310
if c.qcount < c.dataqsiz {
311311
// Space is available in the channel buffer. Enqueue the element to send.

0 commit comments

Comments
 (0)