Skip to content

Commit 95087a7

Browse files
douglasmarquesdee-tree
authored andcommitted
Fixing typo: distinctUtilChanged to distinctUntilChanged (Kotlin#3154)
1 parent dba7de1 commit 95087a7

File tree

1 file changed

+1
-1
lines changed
  • kotlinx-coroutines-core/common/src/flow/operators

1 file changed

+1
-1
lines changed

kotlinx-coroutines-core/common/src/flow/operators/Distinct.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import kotlin.native.concurrent.*
1515
/**
1616
* Returns flow where all subsequent repetitions of the same value are filtered out.
1717
*
18-
* Note that any instance of [StateFlow] already behaves as if `distinctUtilChanged` operator is
18+
* Note that any instance of [StateFlow] already behaves as if `distinctUntilChanged` operator is
1919
* applied to it, so applying `distinctUntilChanged` to a `StateFlow` has no effect.
2020
* See [StateFlow] documentation on Operator Fusion.
2121
* Also, repeated application of `distinctUntilChanged` operator on any flow has no effect.

0 commit comments

Comments
 (0)