diff --git a/shared/src/commonMain/kotlin/ml/dev/kotlin/minigames/shared/util/ResUtil.kt b/shared/src/commonMain/kotlin/ml/dev/kotlin/minigames/shared/util/ResUtil.kt index 908724aa..e31e5496 100644 --- a/shared/src/commonMain/kotlin/ml/dev/kotlin/minigames/shared/util/ResUtil.kt +++ b/shared/src/commonMain/kotlin/ml/dev/kotlin/minigames/shared/util/ResUtil.kt @@ -10,8 +10,10 @@ sealed class Res { } } +@Suppress("NOTHING_TO_INLINE") inline fun R.ok(): Res = Res.Ok(this) +@Suppress("NOTHING_TO_INLINE") inline fun E.err(): Res = Res.Err(this) inline fun Res?.on(