Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tour: description looks incorrect about when chan blocks #860

Open
kepkin opened this issue Nov 28, 2019 · 0 comments
Open

tour: description looks incorrect about when chan blocks #860

kepkin opened this issue Nov 28, 2019 · 0 comments

Comments

@kepkin
Copy link

kepkin commented Nov 28, 2019

Context: https://tour.golang.org/concurrency/3

Sends to a buffered channel block only when the buffer is full. Receives block when the buffer is empty.

This sentence is hard to understand and seems incorrect. My suggestion would be:
Sending is blocked when the buffer is full. Receiving is blocked when the buffer is empty.

@kepkin kepkin changed the title tour: unclaer tour: description looks incorrect about when chan blocks Nov 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant