Skip to content

Commit 1d75d07

Browse files
authored
Merge pull request #54 from textPreferred/patch-1
Small textual change for clarity.
2 parents cee72ab + 377689c commit 1d75d07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/stdlib/Objects.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ object Objects extends FlatSpec with Matchers with org.scalaexercises.definition
6969
Movie.academyAwardBestMoviesForYear(1932).get.name should be(res0)
7070
}
7171

72-
/** A companion object can also see private values and variables of the instantiated objects:
72+
/** A companion object can also see private values and variables of the corresponding classes' instantiated objects:
7373
*/
7474
def privateValuesObjects(res0: String, res1: String, res2: String, res3: String) {
7575
class Person(val name: String, private val superheroName: String) //The superhero name is private!

0 commit comments

Comments
 (0)