Skip to content

Commit 7021bc8

Browse files
committed
fix typo in scala-for-java-devs.md
1 parent e5e1d80 commit 7021bc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_overviews/scala3-book/scala-for-java-devs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,7 @@ Called a _ternary operator_ in Java:
813813
<code>val monthAsString = day match
814814
<br>&nbsp; case 1 =&gt; "January"
815815
<br>&nbsp; case 2 =&gt; "February"
816-
<br>&nbsp; _ =&gt; "Other"
816+
<br>&nbsp; case _ =&gt; "Other"
817817
</code>
818818
</td>
819819
</tr>

0 commit comments

Comments
 (0)