Skip to content

Commit

Permalink
Update core/jvmMain/src/kotlinx/serialization/SerializersJvm.kt
Browse files Browse the repository at this point in the history
Co-authored-by: Sergey Morgunov <hostage@me.com>
  • Loading branch information
qwwdfsad and ihostage committed Jan 13, 2022
1 parent e8f51f6 commit b108301
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/jvmMain/src/kotlinx/serialization/SerializersJvm.kt
Expand Up @@ -78,7 +78,7 @@ public fun SerializersModule.serializerOrNull(type: Type): KSerializer<Any>? =
* 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.
Expand Down

0 comments on commit b108301

Please sign in to comment.