smallnest / chanx

unbounded chan
MIT License
431 stars 63 forks source link

大佬这里为什么要重复赋值一下呀?求教 #1

Closed alpha-baby closed 3 years ago

alpha-baby commented 3 years ago

https://github.com/smallnest/chanx/blob/14a2dcc2a326b307774a9bc6fe45efe73bff4577/unbounded_chan.go#L65

smallnest commented 3 years ago

哇偶,这是一个refactor时的错误. fixed