Skip to content

Commit 42b406f

Browse files
thomasKalmarAlexanderPrendota
authored andcommitted
refactor: fix typo Data classes.md (Kotlin#63)
1 parent 9582abd commit 42b406f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/03_special_classes/01_Data classes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ fun main() {
3737
3. Auto-generated `equals` considers two instances equal if all their properties are equal.
3838
4. Equal data class instances have equal `hashCode()`.
3939
5. Auto-generated `copy` function makes it easy to create a new instance.
40-
6. When copying, you can change values of certain properties. `copy` accepts areguments in the same order as the class constructor.
40+
6. When copying, you can change values of certain properties. `copy` accepts arguments in the same order as the class constructor.
4141
7. Use `copy` with named arguments to change the value despite of the properties order.
4242
8. Auto-generated `componentN` functions let you get the values of properties in the order of declaration.

0 commit comments

Comments
 (0)