Skip to content

Commit d8ee78e

Browse files
authored
Merge pull request #20 from TwelveNights/patch-1
Fix typo in StandardLibrary.scala
2 parents d04cf58 + 31bac1d commit d8ee78e

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)