diff --git a/kotlin-result/src/commonMain/kotlin/com/github/michaelbull/result/Iterable.kt b/kotlin-result/src/commonMain/kotlin/com/github/michaelbull/result/Iterable.kt index 1a68ef7..bffbd06 100644 --- a/kotlin-result/src/commonMain/kotlin/com/github/michaelbull/result/Iterable.kt +++ b/kotlin-result/src/commonMain/kotlin/com/github/michaelbull/result/Iterable.kt @@ -15,7 +15,7 @@ public fun Iterable>.filterErrors(): List { } /** - * Appends the [values][Ok.value] of each element that is [Ok] the given [destination]. + * Appends the [values][Ok.value] of each element that is [Ok] to the given [destination]. */ public inline fun > Iterable>.filterValuesTo(destination: C): C { for (element in this) { @@ -28,7 +28,7 @@ public inline fun > Iterable>.fil } /** - * Appends the [values][Ok.value] of each element that is [Ok] the given [destination]. + * Appends the [values][Ok.value] of each element that is [Ok] to the given [destination]. */ public inline fun > Iterable>.filterErrorsTo(destination: C): C { for (element in this) {