Skip to content

Commit 20318c9

Browse files
authored
add code tabs in _zh-cn/overviews/scala3-book/methods-most.md (#2735)
1 parent f369c2c commit 20318c9

File tree

2 files changed

+317
-8
lines changed

2 files changed

+317
-8
lines changed

_overviews/scala3-book/methods-most.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,7 @@ This makes them private to the current class, so they can’t be called nor over
469469

470470
{% tabs method_20 class=tabs-scala-version %}
471471
{% tab 'Scala 2' for=method_20 %}
472+
472473
```scala
473474
class Animal {
474475
private def breathe() = println("I’m breathing")

0 commit comments

Comments
 (0)