diff --git a/_overviews/scala-book/tuples.md b/_overviews/scala-book/tuples.md index 928ddd4a13..5db90f3ab3 100644 --- a/_overviews/scala-book/tuples.md +++ b/_overviews/scala-book/tuples.md @@ -74,7 +74,7 @@ Another cool approach is to access them like this: scala> val(x, y, z) = (3, "Three", new Person("David")) x: Int = 3 y: String = Three -z: Person = Person(Al) +z: Person = Person(David) ``` Technically this approach involves a form of pattern-matching, and it’s a great way to assign tuple elements to variables.