Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
JesusMcCloud committed Jun 10, 2024
1 parent c69be73 commit 1938dc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commonMain/kotlin/at/asitplus/KmmResult.kt
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ private constructor(
}

/**
* Non-fatal-only-catching version of stdlib's [runCatching], directly returning a [KmmResult]
* Non-fatal-only-catching version of stdlib's [runCatching], directly returning a [KmmResult] --
* Re-throws any fatal exceptions, such as `OutOfMemoryError`. Relies on [Arrow](https://arrow-kt.io)'s
* [nonFatalOrThrow](https://apidocs.arrow-kt.io/arrow-core/arrow.core/non-fatal-or-throw.html) internally.
*/
Expand All @@ -216,7 +216,7 @@ inline fun <reified T> catching(block: () -> T): KmmResult<T> {

/**
* Non-fatal-only-catching version of stdlib's [runCatching] (calling the specified function [block] with `this` value
* as its receiver), directly returning a [KmmResult]
* as its receiver), directly returning a [KmmResult] --
* Re-throws any fatal exceptions, such as `OutOfMemoryError`. Relies on [Arrow](https://arrow-kt.io)'s
* [nonFatalOrThrow](https://apidocs.arrow-kt.io/arrow-core/arrow.core/non-fatal-or-throw.html) internally.
*/
Expand Down

0 comments on commit 1938dc1

Please sign in to comment.