Skip to content

Commit 53af4cd

Browse files
authored
Merge pull request scala-js#64 from ShapelessCat/fix-a-link-changed-in-RC1-docs
Fix a link changed in Scala 3.0.0-RC1 reference
2 parents 984a484 + e0e7f57 commit 53af4cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/PatternMatching.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ object PatternMatching {
6565
case s => println(s"$s has an odd number of characters")
6666
}
6767

68-
// https://dotty.epfl.ch/docs/reference/changed-features/vararg-patterns.html
68+
// https://dotty.epfl.ch/docs/reference/changed-features/vararg-splices.html
6969
def containsConsecutive(list: List[Int]): Boolean = list match {
7070
case List(a, b, xs: _*) => if (a == b) true else containsConsecutive(b :: xs.toList)
7171
case Nil | List(_, _: _*) => false

0 commit comments

Comments
 (0)