Skip to content

Commit f1297d2

Browse files
authored
Typo
1 parent a03644f commit f1297d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs-source/channel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ puts ~ch
9595

9696
## Channel Synchronization
9797

98-
The main purpose of channels is to synchronize operations across goroutines. One common pattern for this is to created a `capacity: 1` buffered channel which is used to signal that work is complete. The following example calls a `worker` function on a goroutine and passes it a "done" channel. The main thread then calls `take` on the "done" channel and blocks until signaled.
98+
The main purpose of channels is to synchronize operations across goroutines. One common pattern for this is to create a `capacity: 1` buffered channel which is used to signal that work is complete. The following example calls a `worker` function on a goroutine and passes it a "done" channel. The main thread then calls `take` on the "done" channel and blocks until signaled.
9999

100100
```ruby
101101
def worker(done_channel)

0 commit comments

Comments
 (0)