Skip to content
This repository was archived by the owner on Sep 1, 2020. It is now read-only.

Commit 7d725c3

Browse files
authored
Fix typo in 2.12.1.md
I hope my next contribution is more substantial. :)
1 parent 9d0fa4e commit 7d725c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notes/2.12.1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ inexhaustive matches against unsealed traits.
219219
The following will now warn that the match might not be exhaustive,
220220

221221
```scala
222-
def nonExhautiveIfWeAssumeGuardsFalse(x: Option[Int]): Int = x match {
222+
def nonExhaustiveIfWeAssumeGuardsFalse(x: Option[Int]): Int = x match {
223223
case Some(n) if n % 2 == 0 => n
224224
case None => 0
225225
}

0 commit comments

Comments
 (0)