Skip to content

Commit 1aea632

Browse files
committed
change to scala3 only.
1 parent a1ba4fd commit 1aea632

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_overviews/scala3-book/taste-contextual-abstractions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ It is convenient to omit it because we know `String`s are generally compared usi
4646
However, it is also possible to pass it explicitly:
4747

4848
{% tabs contextual_2 %}
49-
{% tab 'Scala 2 and 3' for=contextual_2 %}
49+
{% tab 'Scala 3 Only' for=contextual_2 %}
5050

5151
```scala
5252
addresses.sortBy(address => (address.city, address.street))(using Ordering.Tuple2(Ordering.String, Ordering.String))

0 commit comments

Comments
 (0)