From b746ba821ddd10fa58cd8f92db49be97cc852e67 Mon Sep 17 00:00:00 2001 From: Dimitri Saridakis Date: Tue, 19 Oct 2021 14:53:13 +0100 Subject: [PATCH] docs(polymorphism): fixing a typo (#1731) --- docs/polymorphism.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.