Skip to content

Commit 5936185

Browse files
committed
Update a link to Scala Language Specification from version 2.12 to version 2.13
1 parent 08f70cb commit 5936185

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/metaprogramming/inline.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ object Logger {
3333
The `Config` object contains a definition of the **inline value** `logging`.
3434
This means that `logging` is treated as a _constant value_, equivalent to its
3535
right-hand side `false`. The right-hand side of such an `inline val` must itself
36-
be a [constant expression](https://scala-lang.org/files/archive/spec/2.12/06-expressions.html#constant-expressions).
36+
be a [constant expression](https://scala-lang.org/files/archive/spec/2.13/06-expressions.html#constant-expressions).
3737
Used in this way, `inline` is equivalent to Java and Scala 2's `final`. Note that `final`, meaning
3838
_inlined constant_, is still supported in Dotty, but will be phased out.
3939

0 commit comments

Comments
 (0)