Skip to content

add code tabs in num13. #2586

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 7, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update _overviews/scala3-book/taste-collections.md
Co-authored-by: Jamie Thompson <bishbashboshjt@gmail.com>
  • Loading branch information
benluo and bishabosha authored Oct 7, 2022
commit c6b1220db9f7320a954aa75efe1817c35e6d1522
2 changes: 1 addition & 1 deletion _overviews/scala3-book/taste-collections.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Collections classes are available in both immutable and mutable forms.
To give you a taste of how these work, here are some examples that use the `List` class, which is an immutable, linked-list class.
These examples show different ways to create a populated `List`:

{% tabs collection_1 class=tabs-scala-version %}
{% tabs collection_1 %}
{% tab 'Scala 2 and 3' for=collection_1 %}
```scala
val a = List(1, 2, 3) // a: List[Int] = List(1, 2, 3)
Expand Down