Skip to content

Commit b0f0d92

Browse files
authored
Fix typo in polymorphism.md (#1074)
1 parent 0d28bef commit b0f0d92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/polymorphism.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ the [Sealed classes](#sealed-classes) section, but here subclasses can be spread
322322

323323
We can update the previous example and turn `Project` superclass into an interface. However, we cannot
324324
mark an interface itself as `@Serializable`. No problem. Interfaces cannot have instances by themselves.
325-
Interfaces can only be represented by instances of their derived classes. Interfaces are used in the Kolin language to enable polymorphism,
325+
Interfaces can only be represented by instances of their derived classes. Interfaces are used in the Kotlin language to enable polymorphism,
326326
so all interfaces are considered to be implicitly serializable with the [PolymorphicSerializer]
327327
strategy. We just need to mark thier implementing classes as `@Serializable` and register them.
328328

0 commit comments

Comments
 (0)