Skip to content

Commit 31bac1d

Browse files
authored
Fix type in StandardLibrary.scala
Correct 'Way say' -> 'We say'.
1 parent d04cf58 commit 31bac1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/scalatutorial/sections/StandardLibrary.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ object StandardLibrary extends ScalaTutorialSection {
267267
* === Manipulating `Either[A, B]` Values ===
268268
*
269269
* Since Scala 2.12, `Either` has `map` and `flatMap`. These methods
270-
* transform the `Right` case only. Way say that `Either` is “right biased”:
270+
* transform the `Right` case only. We say that `Either` is “right biased”:
271271
*
272272
* {{{
273273
* Right(1).map((x: Int) => x + 1) shouldBe Right(2)

0 commit comments

Comments
 (0)