Skip to content

Commit a6ec1ce

Browse files
committed
Fix typo in KDoc
1 parent 8c07124 commit a6ec1ce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

common/kotlinx-coroutines-core-common/src/channels/ArrayChannel.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import kotlin.jvm.*
1010

1111
/**
1212
* Channel with array buffer of a fixed [capacity].
13-
* Sender suspends only when buffer is fully and receiver suspends only when buffer is empty.
13+
* Sender suspends only when buffer is full and receiver suspends only when buffer is empty.
1414
*
1515
* This channel is created by `Channel(capacity)` factory function invocation.
1616
*

common/kotlinx-coroutines-core-common/src/channels/Channel.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ public interface ChannelIterator<out E> {
343343
*
344344
* * When `capacity` is positive, but less than [UNLIMITED] -- it creates array-based channel with given capacity.
345345
* This channel has an array buffer of a fixed `capacity`.
346-
* Sender suspends only when buffer is fully and receiver suspends only when buffer is empty.
346+
* Sender suspends only when buffer is full and receiver suspends only when buffer is empty.
347347
*/
348348
public interface Channel<E> : SendChannel<E>, ReceiveChannel<E> {
349349
/**

0 commit comments

Comments
 (0)