You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/topics/compatibility.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,9 +80,9 @@ It is done in order to produce compilation warning about using experimental or o
80
80
Warnings can be disabled either programmatically for a specific call site or globally for the whole module.
81
81
82
82
### Programmatically
83
-
For a specific call-site, warning can be disabled by using [UseExperimental](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-use-experimental/index.html) annotation:
83
+
For a specific call-site, warning can be disabled by using [OptIn](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-opt-in/) annotation:
84
84
```kotlin
85
-
@UseExperimental(ExperimentalCoroutinesApi::class) // Disables warning about experimental coroutines API
85
+
@OptIn(ExperimentalCoroutinesApi::class) // Disables warning about experimental coroutines API
0 commit comments