Skip to content

Commit

Permalink
Fix typo in the deprecation message of BroadcastChannel<T>.asFlow()
Browse files Browse the repository at this point in the history
  • Loading branch information
qwwdfsad committed Aug 12, 2021
1 parent 3c29d96 commit dfca05f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kotlinx-coroutines-core/common/src/flow/Channels.kt
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ private class ChannelAsFlow<T>(
*/
@Deprecated(
level = DeprecationLevel.WARNING,
message = "'BroadcastChannel' is obsolete and all coreresponding operators are deprecated " +
message = "'BroadcastChannel' is obsolete and all corresponding operators are deprecated " +
"in the favour of StateFlow and SharedFlow"
) // Since 1.5.0, was @FlowPreview, safe to remove in 1.7.0
public fun <T> BroadcastChannel<T>.asFlow(): Flow<T> = flow {
Expand Down

0 comments on commit dfca05f

Please sign in to comment.