Skip to content

Commit

Permalink
Fix syntax error on Scala 3.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Dieken committed Jan 29, 2024
1 parent 68e3b5c commit d2d7b25
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions _overviews/scala3-book/scala-for-java-devs.md
Original file line number Diff line number Diff line change
Expand Up @@ -513,8 +513,8 @@ These interfaces and traits have concrete, implemented methods (default methods)
<br>
<br>// mix in the traits as DavidBanner
<br>// is created
<br>val hulk = new DavidBanner with Big,
<br>&nbsp; Angry, Green</code>
<br>val hulk = new DavidBanner with Big with Angry with Green
</code>
</td>
</tr>
</tbody>
Expand Down
4 changes: 2 additions & 2 deletions _zh-cn/overviews/scala3-book/scala-for-java-devs.md
Original file line number Diff line number Diff line change
Expand Up @@ -499,8 +499,8 @@ Scala不遵循JavaBeans标准,因此我们在这里展示的Java代码
<br>
<br>// mix in the traits as DavidBanner
<br>// is created
<br>val hulk = new DavidBanner with Big,
<br>&nbsp; Angry, Green</code>
<br>val hulk = new DavidBanner with Big with Angry with Green
</code>
</td>
</tr>
</tbody>
Expand Down

0 comments on commit d2d7b25

Please sign in to comment.