Skip to content

Commit 2ef6ede

Browse files
benluobishabosha
andauthored
Update _overviews/scala3-book/taste-functions.md
Co-authored-by: Jamie Thompson <bishbashboshjt@gmail.com>
1 parent dedf13b commit 2ef6ede

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_overviews/scala3-book/taste-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The `map` method of the `List` class is a typical example of a higher-order func
2222
These two examples are equivalent, and show how to multiply each number in a list by `2` by passing a lambda into the `map` method:
2323

2424

25-
{% tabs function_1 class=tabs-scala-version %}
25+
{% tabs function_1 %}
2626
{% tab 'Scala 2 and 3' for=function_1 %}
2727
```scala
2828
val a = List(1, 2, 3).map(i => i * 2) // List(2,4,6)

0 commit comments

Comments
 (0)