Skip to content

Commit c7aef3f

Browse files
authored
Use a better example than array
1 parent 45d7e09 commit c7aef3f

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
@@ -43,7 +43,7 @@ a method such as `orderFood(xs: _*)` the varargs parameter `xs` must be an immut
4343
Therefore any method signature in Scala 2.13 which includes `scala.Seq`, varargs, or `scala.IndexedSeq` is going
4444
to have a breaking change in API semantics (as the immutable sequence types require more, immutability, than the
4545
not-immutable types). For example, with a method like `def orderFood(order: Seq[Order]): Seq[Food]`, previously
46-
the method user would have been able to pass in an array of `Order`, but that won't work for 2.13.
46+
the method user would have been able to pass in an `ArrayBuffer` of `Order`, but that won't work for 2.13.
4747

4848
### Migrating varargs
4949

0 commit comments

Comments
 (0)