Skip to content

Commit ac68d65

Browse files
authored
Merge pull request scala#2321 from mirca/patch-1
fix typo in scala-features.md
2 parents a9a80d9 + 51f0f9c commit ac68d65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_overviews/scala3-book/scala-features.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ All of these expressions look like a dynamically-typed language like Python or R
117117
```scala
118118
val s = "Hello"
119119
val p = Person("Al", "Pacino")
120-
val sum = ints.reduceLeft(_ + _)
120+
val sum = nums.reduceLeft(_ + _)
121121
val y = for i <- nums yield i * 2
122122
val z = nums.filter(_ > 100)
123123
.filter(_ < 10_000)

0 commit comments

Comments
 (0)