Skip to content

Commit f817f64

Browse files
committed
correct "Scala 3 Only" tab.
1 parent 4a3a193 commit f817f64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_overviews/scala3-book/taste-control-structures.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,8 +387,8 @@ p match
387387
In fact, a `match` expression can be used to test a variable against many different types of patterns.
388388
This example shows (a) how to use a `match` expression as the body of a method, and (b) how to match all the different types shown:
389389

390-
{% tabs match-expression_3 class=tabs-scala-version %}
391-
{% tab 'Scala 3 only' for=match-expression_3 %}
390+
{% tabs match-expression_3 %}
391+
{% tab 'Scala 3 Only' for=match-expression_3 %}
392392

393393
```scala
394394
// getClassAsString is a method that takes a single argument of any type.

0 commit comments

Comments
 (0)