Skip to content

Commit 48ace49

Browse files
committed
fix grammatical mistake: 'they are instances of' to 'each is an instance of'.
1 parent 5167889 commit 48ace49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_tour/unified-types.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ val list: List[Any] = List(
4040
list.foreach(element => println(element))
4141
```
4242

43-
It defines a value `list` of type `List[Any]`. The list is initialized with elements of various types, but they all are instance of `scala.Any`, so you can add them to the list.
43+
It defines a value `list` of type `List[Any]`. The list is initialized with elements of various types, but each is an instance of `scala.Any`, so you can add them to the list.
4444

4545
Here is the output of the program:
4646

0 commit comments

Comments
 (0)