Skip to content

Commit 54b38f7

Browse files
eed3si9ndwijnand
andauthored
Update _overviews/core/collections-migration-213.md
Co-Authored-By: Dale Wijnand <344610+dwijnand@users.noreply.github.com>
1 parent 8178166 commit 54b38f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_overviews/core/collections-migration-213.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ The module also provides [migratrion rules](https://github.com/scala/scala-colle
3434

3535
In Scala 2.13 `scala.Seq[+A]` is an alias for `scala.collection.immutable.Seq[A]`, instead of `scala.collection.Seq[A]`. This change requires some planning depending on how your code is going to be used.
3636

37-
If you're making an application, and simply migrating Scala 2.12 code base to 2.13, it might be ok to keep using `scala.Seq` in your code.
37+
If you're making an application, and simply migrating a Scala 2.12 code base to 2.13, it might be ok to keep using `scala.Seq` in your code.
3838

3939
If you're making a library intended to be used by other programmers, then using `scala.Seq` or vararg is going to be a breaking change in the API semantics. For example, if there was a function `def orderFood(order: Seq[Order]): Seq[Food]`, previously the library user would have been able to pass in an array of `Order`, but it won't work for 2.13.
4040

0 commit comments

Comments
 (0)