diff --git a/_tour/unified-types.md b/_tour/unified-types.md index 2c4d5bb239..a01b05d06d 100644 --- a/_tour/unified-types.md +++ b/_tour/unified-types.md @@ -40,7 +40,7 @@ val list: List[Any] = List( list.foreach(element => println(element)) ``` -It defines a variable `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. +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. Here is the output of the program: