Skip to content

Commit 9bd27cc

Browse files
authored
Fix text repetition in EffectScope's deprecation message (#3072)
1 parent 2bc0412 commit 9bd27cc

File tree

1 file changed

+1
-1
lines changed
  • arrow-libs/core/arrow-core/src/commonMain/kotlin/arrow/core/continuations

1 file changed

+1
-1
lines changed

arrow-libs/core/arrow-core/src/commonMain/kotlin/arrow/core/continuations/EffectScope.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import kotlin.experimental.ExperimentalTypeInference
1515

1616
/** Context of the [Effect] DSL. */
1717
@Deprecated(
18-
"Use the arrow.core.raise.Raise type instead, which is more general and can be used to and can be used to raise typed errors or _logical failures_\n" +
18+
"Use the arrow.core.raise.Raise type instead, which is more general and can be used to raise typed errors or _logical failures_\n" +
1919
"The Raise<R> type is source compatible, a simple find & replace of arrow.core.continuations.* to arrow.core.raise.* will do the trick.",
2020
ReplaceWith("Raise<R>", "arrow.core.raise.Raise")
2121
)

0 commit comments

Comments
 (0)