Skip to content

Commit 5a5021c

Browse files
benluobishabosha
andauthored
Update _overviews/scala3-book/taste-methods.md
Co-authored-by: Jamie Thompson <bishbashboshjt@gmail.com>
1 parent d2227a9 commit 5a5021c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_overviews/scala3-book/taste-methods.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ _Extension methods_ let you add new methods to closed classes.
148148
For instance, if you want to add two methods named `hello` and `aloha` to the `String` class, declare them as extension methods:
149149

150150
{% tabs extension_1 class=tabs-scala-version %}
151-
{% tab 'Scala 3 only' for=extension_1 %}
151+
{% tab 'Scala 3 Only' for=extension_1 %}
152152
```scala
153153
extension (s: String)
154154
def hello: String = s"Hello, ${s.capitalize}!"

0 commit comments

Comments
 (0)