Skip to content

Commit 9ab9893

Browse files
committed
Fix capture checking doc links in language.scala
Update @see links for captureChecking and separationChecking to point to the correct capture-checking documentation URL.
1 parent df5f612 commit 9ab9893

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/src/scala/runtime/stdLibPatches/language.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,14 @@ private[scala] object language:
9090

9191
/** Experimental support for capture checking; implies support for pureFunctions
9292
*
93-
* @see [[https://nightly.scala-lang.org/docs/reference/experimental/cc]]
93+
* @see [[https://nightly.scala-lang.org/docs/reference/experimental/capture-checking/]]
9494
*/
9595
@compileTimeOnly("`captureChecking` can only be used at compile time in import statements")
9696
object captureChecking
9797

9898
/** Experimental support for separation checking; requires captureChecking also to be enabled.
9999
*
100-
* @see [[https://nightly.scala-lang.org/docs/reference/experimental/cc]]
100+
* @see [[https://nightly.scala-lang.org/docs/reference/experimental/capture-checking/]]
101101
*/
102102
@compileTimeOnly("`separationChecking` can only be used at compile time in import statements")
103103
object separationChecking

0 commit comments

Comments
 (0)