Skip to content

Commit dfca05f

Browse files
committed
Fix typo in the deprecation message of BroadcastChannel<T>.asFlow()
Fixes #2873
1 parent 3c29d96 commit dfca05f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kotlinx-coroutines-core/common/src/flow/Channels.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ private class ChannelAsFlow<T>(
171171
*/
172172
@Deprecated(
173173
level = DeprecationLevel.WARNING,
174-
message = "'BroadcastChannel' is obsolete and all coreresponding operators are deprecated " +
174+
message = "'BroadcastChannel' is obsolete and all corresponding operators are deprecated " +
175175
"in the favour of StateFlow and SharedFlow"
176176
) // Since 1.5.0, was @FlowPreview, safe to remove in 1.7.0
177177
public fun <T> BroadcastChannel<T>.asFlow(): Flow<T> = flow {

0 commit comments

Comments
 (0)