diff --git a/docs/polymorphism.md b/docs/polymorphism.md index 7d194f2ad..c54bcb820 100644 --- a/docs/polymorphism.md +++ b/docs/polymorphism.md @@ -367,7 +367,7 @@ We can update the previous example and turn `Project` superclass into an interfa mark an interface itself as `@Serializable`. No problem. Interfaces cannot have instances by themselves. Interfaces can only be represented by instances of their derived classes. Interfaces are used in the Kotlin language to enable polymorphism, so all interfaces are considered to be implicitly serializable with the [PolymorphicSerializer] -strategy. We just need to mark thier implementing classes as `@Serializable` and register them. +strategy. We just need to mark their implementing classes as `@Serializable` and register them.