Skip to content

Commit 80d9f7c

Browse files
committed
delete tabs
1 parent b202896 commit 80d9f7c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

_overviews/scala3-book/taste-methods.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,12 +121,11 @@ At a glance, with this method you may wonder which parameters are set to `true`
121121

122122
{% tabs method_9 %}
123123
{% tab 'Scala 2 and 3' for=method_9 %}
124+
124125
```scala
125126
engage(true, true, true, false)
126127
```
127-
{% endtab %}
128-
{% endtabs %}
129-
```
128+
130129
{% endtab %}
131130
{% endtabs %}
132131

@@ -139,6 +138,7 @@ The code doesn’t account for possible string-to-integer conversion errors, but
139138

140139
{% tabs extension_2 class=tabs-scala-version %}
141140
{% tab 'Scala 3 Only' for=extension_2 %}
141+
142142
```scala
143143
extension (s: String)
144144
def makeInt(radix: Int): Int = Integer.parseInt(s, radix)
@@ -147,6 +147,7 @@ extension (s: String)
147147
"10".makeInt(2) // Int = 2
148148
"100".makeInt(2) // Int = 4
149149
```
150+
150151
{% endtab %}
151152
{% endtabs %}
152153

0 commit comments

Comments
 (0)