From 0d71143de9769ec4f8664e4e8837032d6c93ac52 Mon Sep 17 00:00:00 2001 From: Abduqodiri Qurbonzoda Date: Thu, 8 Sep 2022 12:17:48 +0300 Subject: [PATCH] Update @ExperimentalCli documentation with OptIn instead of UseExperimental --- .../kotlinx.cli/src/main/kotlin/kotlinx/cli/ExperimentalCli.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kotlin-native/endorsedLibraries/kotlinx.cli/src/main/kotlin/kotlinx/cli/ExperimentalCli.kt b/kotlin-native/endorsedLibraries/kotlinx.cli/src/main/kotlin/kotlinx/cli/ExperimentalCli.kt index 0f1ae561e47..a04ef15e494 100644 --- a/kotlin-native/endorsedLibraries/kotlinx.cli/src/main/kotlin/kotlinx/cli/ExperimentalCli.kt +++ b/kotlin-native/endorsedLibraries/kotlinx.cli/src/main/kotlin/kotlinx/cli/ExperimentalCli.kt @@ -14,7 +14,7 @@ import kotlin.annotation.AnnotationTarget.* * with the future versions of the CLI library. * * Any usage of a declaration annotated with `@ExperimentalCli` must be accepted either by - * annotating that usage with the [UseExperimental] annotation, e.g. `@UseExperimental(ExperimentalCli::class)`, + * annotating that usage with the [OptIn] annotation, e.g. `@OptIn(ExperimentalCli::class)`, * or by using the compiler argument `-opt-in=kotlinx.cli.ExperimentalCli`. */ @RequiresOptIn("This API is experimental. It may be changed in the future without notice.", RequiresOptIn.Level.WARNING)