Rename UseExperimental->OptIn, Experimental->RequiresOptIn in stdlib kdocs

This commit is contained in:
Alexander Udalov
2019-12-27 16:35:13 +01:00
parent 7742a3b697
commit 8f94a2bb75
7 changed files with 14 additions and 14 deletions
@@ -14,8 +14,8 @@ import kotlin.internal.RequireKotlinVersionKind
* Marks the API that is dependent on the experimental unsigned types, including those types themselves.
*
* Usages of such API will be reported as warnings unless an explicit opt-in with
* the [UseExperimental] annotation, e.g. `@UseExperimental(ExperimentalUnsignedTypes::class)`,
* or with the `-Xuse-experimental=kotlin.ExperimentalUnsignedTypes` compiler option is given.
* the [OptIn] annotation, e.g. `@OptIn(ExperimentalUnsignedTypes::class)`,
* or with the `-Xopt-in=kotlin.ExperimentalUnsignedTypes` compiler option is given.
*
* It's recommended to propagate the experimental status to the API that depends on unsigned types by annotating it with this annotation.
*/