From e81231a78f64a8df15e47a7d7835b6c6e128de6f Mon Sep 17 00:00:00 2001 From: Alexander Likhachev Date: Wed, 22 Jun 2022 20:24:52 +0300 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 276eac3b86c..eef93f0decb 100644 --- a/libraries/stdlib/src/kotlin/annotations/OptIn.kt +++ b/libraries/stdlib/src/kotlin/annotations/OptIn.kt @@ -47,8 +47,6 @@ public annotation class RequiresOptIn( /** * Allows to use the API denoted by the given markers in the annotated file, declaration, or expression. * If a declaration is annotated with [OptIn], its usages are **not** required to opt in to that API. - * - * This class requires opt-in itself and can only be used with the compiler argument `-opt-in=kotlin.RequiresOptIn`. */ @Target( CLASS, PROPERTY, LOCAL_VARIABLE, VALUE_PARAMETER, CONSTRUCTOR, FUNCTION, PROPERTY_GETTER, PROPERTY_SETTER, EXPRESSION, FILE, TYPEALIAS