From b42cbf6650ba6d14a418ba0acf86fbba0e44e0e8 Mon Sep 17 00:00:00 2001 From: Mikhail Glukhikh Date: Tue, 21 Jun 2022 16:53:28 +0200 Subject: [PATCH] Drop redundant comment to OptIn annotation class --- libraries/stdlib/src/kotlin/annotations/OptIn.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/libraries/stdlib/src/kotlin/annotations/OptIn.kt b/libraries/stdlib/src/kotlin/annotations/OptIn.kt index b307a94d389..276eac3b86c 100644 --- a/libraries/stdlib/src/kotlin/annotations/OptIn.kt +++ b/libraries/stdlib/src/kotlin/annotations/OptIn.kt @@ -18,8 +18,6 @@ import kotlin.reflect.KClass * Call sites of any declaration annotated with that marker should opt in to the API either by using [OptIn], * or by being annotated with that marker themselves, effectively causing further propagation of the opt-in requirement. * - * This class requires opt-in itself and can only be used with the compiler argument `-opt-in=kotlin.RequiresOptIn`. - * * @property message message to be reported on usages of API without an explicit opt-in, or empty string for the default message. * The default message is: "This declaration is experimental and its usage should be marked with 'Marker' * or '@OptIn(Marker::class)'", where `Marker` is the opt-in requirement marker.