Fix typo in mapOr KDoc

This commit is contained in:
Mathias Guelton 2021-05-12 15:31:23 +02:00 committed by Michael Bull
parent f2bd9aaa11
commit 32b1a9edb6
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ public inline infix fun <V, E, F> Result<V, E>.mapError(transform: (E) -> F): Re
} }
/** /**
* Maps this [Result<V, E][Result] to [U] by either applying the [transform] function to the * Maps this [Result<V, E>][Result] to [U] by either applying the [transform] function to the
* [value][Ok.value] if this [Result] is [Ok], or returning the [default] if this [Result] is an * [value][Ok.value] if this [Result] is [Ok], or returning the [default] if this [Result] is an
* [Err]. * [Err].
* *