Skip to content

Commit c2d218a

Browse files
authored
Fix typo in shareIn documentation (#2726)
1 parent 00e6cbf commit c2d218a

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/Share.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ import kotlin.jvm.*
6868
* ### Upstream completion and error handling
6969
*
7070
* **Normal completion of the upstream flow has no effect on subscribers**, and the sharing coroutine continues to run. If a
71-
* a strategy like [SharingStarted.WhileSubscribed] is used, then the upstream can get restarted again. If a special
71+
* strategy like [SharingStarted.WhileSubscribed] is used, then the upstream can get restarted again. If a special
7272
* action on upstream completion is needed, then an [onCompletion] operator can be used before the
7373
* `shareIn` operator to emit a special value in this case, like this:
7474
*

0 commit comments

Comments
 (0)