Skip to content

Commit 5eca49c

Browse files
authored
Fix typo in StateFlow docs (#2508)
1 parent edd584a commit 5eca49c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import kotlin.native.concurrent.*
2121
* neither does a coroutine started by the [Flow.launchIn] function. An active collector of a state flow is called a _subscriber_.
2222
*
2323
* A [mutable state flow][MutableStateFlow] is created using `MutableStateFlow(value)` constructor function with
24-
* the initial value. The value of mutable state flow can be updated by setting its [value] property.
24+
* the initial value. The value of mutable state flow can be updated by setting its [value] property.
2525
* Updates to the [value] are always [conflated][Flow.conflate]. So a slow collector skips fast updates,
2626
* but always collects the most recently emitted value.
2727
*

0 commit comments

Comments
 (0)