From 2eadee9db99ef1b32595ffeb798da018f34efd12 Mon Sep 17 00:00:00 2001 From: Michael Bull Date: Fri, 8 Mar 2024 23:35:20 +0000 Subject: [PATCH] Fix typo --- .../kotlin/com/github/michaelbull/result/Iterable.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {