We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a3a193 commit f817f64Copy full SHA for f817f64
_overviews/scala3-book/taste-control-structures.md
@@ -387,8 +387,8 @@ p match
387
In fact, a `match` expression can be used to test a variable against many different types of patterns.
388
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:
389
390
-{% tabs match-expression_3 class=tabs-scala-version %}
391
-{% tab 'Scala 3 only' for=match-expression_3 %}
+{% tabs match-expression_3 %}
+{% tab 'Scala 3 Only' for=match-expression_3 %}
392
393
```scala
394
// getClassAsString is a method that takes a single argument of any type.
0 commit comments