8000 Fix typo by uurl · Pull Request #1 · uurl/docs.scala-lang · GitHub
[go: up one dir, main page]

Skip to content

Fix typo #1

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
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
Fix typo
Fix typo
  • Loading branch information
uurl authored Jul 28, 2022
commit 6e709464a58e79f4aacd19c85acd620bc7d82bb1
2 changes: 1 addition & 1 deletion _tour/classes.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ println(point1) // prints (1, 0)
class Point(var x: Int = 0, var y: Int = 0)

val origin = Point() // x and y are both set to 0
val point1 = Point(1) // y is set to 0
val point1 = Point(1) // x is set to 0
println(point1) // prints (1, 0)
```
{% endtab %}
Expand Down
0