Skip to content

Commit 5f5b27c

Browse files
authored
Updated no-null-values.md (#2224)
1 parent 77a7325 commit 5f5b27c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_overviews/scala-book/no-null-values.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ val y = for {
120120
When that expression finishes running, `y` will be one of two things:
121121

122122
- If all three strings convert to integers, `y` will be a `Some[Int]`, i.e., an integer wrapped inside a `Some`
123-
- If any of the three strings can’t be converted to an inside, `y` will be a `None`
123+
- If any of the three strings can’t be converted to an integer, `y` will be a `None`
124124

125125
You can test this for yourself in the Scala REPL. First, paste these three string variables into the REPL:
126126

0 commit comments

Comments
 (0)