Skip to content

Why scala 3 tabs code #2510

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 6 commits into from
Sep 15, 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/why-scala-3.md
Co-authored-by: Jamie Thompson <bishbashboshjt@gmail.com>
  • Loading branch information
benluo and bishabosha authored Sep 15, 2022
commit e3064fd2ac5dc86a7e7cf5a7138a4538f3ae706f
2 changes: 1 addition & 1 deletion _overviews/scala3-book/why-scala-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ val c = List(1,2,3)
Creating types like traits, classes, and enumerations are concise:

{% tabs enum %}
{% tab 'Scala 3' for=enum %}
{% tab 'Scala 3 Only' for=enum %}
```scala
trait Tail:
def wagTail(): Unit
Expand Down