Skip to content
This repository was archived by the owner on May 17, 2023. It is now read-only.

Commit d072ef2

Browse files
ismailbenhallamSebastianAigner
authored andcommitted
Fix a typo
1 parent ab51cc0 commit d072ef2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Introduction to Coroutines and Channels/08_Channels.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ receives an element if the channel is not empty, and otherwise suspends.
5858
An unlimited channel is the closest analog to queue: producers can send elements to this channel,
5959
and it will grow infinitely.
6060
The `send` call will never be suspended.
61-
If there's no more memory, you'll get an `OutOfMemoryException`.
61+
If there's no more memory, you'll get an `OutOfMemoryError`.
6262
The difference with a queue appears when a consumer tries to receive from an empty channel
6363
and gets suspended until some new elements are sent to this channel.
6464

0 commit comments

Comments
 (0)