Skip to content

Commit a614b24

Browse files
authored
Update Classes.scala (#198)
Make it compile
1 parent 16be315 commit a614b24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/stdlib/Classes.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ object Classes extends AnyFlatSpec with Matchers with org.scalaexercises.definit
2727
* Here is a class definition which defines a class Point:
2828
*
2929
* {{{
30-
* class Point(x: Int, y: Int) = {
30+
* class Point(x: Int, y: Int) {
3131
* override def toString(): String = "(" + x + ", " + y + ")"
3232
* }
3333
* }}}

0 commit comments

Comments
 (0)