Skip to content

Commit 80c2cb9

Browse files
author
Rafa Paradela
authored
Merge pull request #21 from RomanIakovlev/patch-1
Update Classes.scala
2 parents e51aeac + 6289cef commit 80c2cb9

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
@@ -16,7 +16,7 @@ object Classes extends FlatSpec with Matchers with exercise.Section {
1616
* }}}
1717
* The class defines two variables `x` and `y` and one method: `toString`.
1818
*
19-
* Classes in Scala are parameterized with constructor arguments. The code above defines two constructor arguments, `x` and `y`; they are both visible in the whole body of the class. In our example they are used to implment `toString`.
19+
* Classes in Scala are parameterized with constructor arguments. The code above defines two constructor arguments, `x` and `y`; they are both visible in the whole body of the class. In our example they are used to implement `toString`.
2020
*
2121
* Classes are instantiated with the `new` primitive, as the following example will show:
2222
*

0 commit comments

Comments
 (0)