From b108301f0e6b44855993bff20a3c3b3f13ac08c5 Mon Sep 17 00:00:00 2001 From: Vsevolod Tolstopyatov Date: Thu, 13 Jan 2022 15:56:51 +0300 Subject: [PATCH] Update core/jvmMain/src/kotlinx/serialization/SerializersJvm.kt Co-authored-by: Sergey Morgunov --- core/jvmMain/src/kotlinx/serialization/SerializersJvm.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/jvmMain/src/kotlinx/serialization/SerializersJvm.kt b/core/jvmMain/src/kotlinx/serialization/SerializersJvm.kt index 9329c8703..52604e681 100644 --- a/core/jvmMain/src/kotlinx/serialization/SerializersJvm.kt +++ b/core/jvmMain/src/kotlinx/serialization/SerializersJvm.kt @@ -78,7 +78,7 @@ public fun SerializersModule.serializerOrNull(type: Type): KSerializer? = * Retrieves a [KSerializer] for the given [java.lang.Class] instance of the Kotlin type or returns `null` if none is found. * The given class must be annotated with [Serializable] or be one of the built-in types. * - * The API avoids instantiation of the correspnding [KClass][Class.kotlin] on the best-effort basis. + * The API avoids instantiation of the corresponding [KClass][Class.kotlin] on the best-effort basis. * * This is a [Class] counterpart of [KClass.serializerOrNull] with all the restrictions the original function implies, * including the general recommendation to avoid uses of this API.