File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ The compiler automatically derives the following members from all properties dec
1313* ` equals() ` /` hashCode() ` pair.
1414* ` toString() ` of the form ` "User(name=John, age=42)" ` .
1515* [ ` componentN() ` functions] ( destructuring-declarations.md ) corresponding to the properties in their order of declaration.
16- * ` copy() ` function (see below ).
16+ * [ ` copy() ` function] ( #copying ) .
1717
1818To ensure consistency and meaningful behavior of the generated code, data classes have to fulfill the following requirements:
1919
@@ -138,4 +138,4 @@ println("$name, $age years of age")
138138## Standard data classes
139139
140140The standard library provides the ` Pair ` and ` Triple ` classes. In most cases, though, named data classes are a better design choice
141- because they make the code easier to read by providing meaningful names for the properties.
141+ because they make the code easier to read by providing meaningful names for the properties.
You can’t perform that action at this time.
0 commit comments