We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16be315 commit a614b24Copy full SHA for a614b24
src/main/scala/stdlib/Classes.scala
@@ -27,7 +27,7 @@ object Classes extends AnyFlatSpec with Matchers with org.scalaexercises.definit
27
* Here is a class definition which defines a class Point:
28
*
29
* {{{
30
- * class Point(x: Int, y: Int) = {
+ * class Point(x: Int, y: Int) {
31
* override def toString(): String = "(" + x + ", " + y + ")"
32
* }
33
* }}}
0 commit comments