diff --git a/_tour/tuples.md b/_tour/tuples.md index e945311a0e..d4b030ebc6 100644 --- a/_tour/tuples.md +++ b/_tour/tuples.md @@ -22,7 +22,7 @@ Tuples come in handy when we have to return multiple values from a function. A tuple can be created as: ```tut -val ingredient = ("Sugar" , 25):Tuple2[String, Int] +val ingredient : Tuple2[String, Int] = ("Sugar" , 25) ``` This creates a tuple containing a String element and an Int element.