Skip to content

Commit 1fff15e

Browse files
committed
changed to scal 3 Only.
1 parent 7cd41b3 commit 1fff15e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_overviews/scala3-book/methods-most.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ case class Circle(x: Double, y: Double, radius: Double)
637637
When you want to add methods to this class, you can define them as extension methods, like this:
638638

639639
{% tabs method_24 %}
640-
{% tab 'Scala 3 only' for=method_24 %}
640+
{% tab 'Scala 3 Only' for=method_24 %}
641641

642642
```scala
643643
extension (c: Circle)
@@ -652,7 +652,7 @@ extension (c: Circle)
652652
Now when you have a `Circle` instance named `aCircle`, you can call those methods like this:
653653

654654
{% tabs method_25 %}
655-
{% tab 'Scala 2 and 3' for=method_25 %}
655+
{% tab 'Scala 3 Only' for=method_25 %}
656656

657657
```scala
658658
aCircle.circumference

0 commit comments

Comments
 (0)