From 0a6eb817c5cf4fa84ab8d360060934a1c74820be Mon Sep 17 00:00:00 2001 From: Stuart Kent Date: Mon, 1 May 2023 06:37:09 -0400 Subject: [PATCH] Fix incorrect function name in PrimitiveSerialDescriptor doc comment (#2289) --- .../src/kotlinx/serialization/descriptors/SerialDescriptors.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/commonMain/src/kotlinx/serialization/descriptors/SerialDescriptors.kt b/core/commonMain/src/kotlinx/serialization/descriptors/SerialDescriptors.kt index 745fef9377..d76b64b48d 100644 --- a/core/commonMain/src/kotlinx/serialization/descriptors/SerialDescriptors.kt +++ b/core/commonMain/src/kotlinx/serialization/descriptors/SerialDescriptors.kt @@ -71,7 +71,7 @@ public fun buildClassSerialDescriptor( * ``` * object LongAsStringSerializer : KSerializer { * override val descriptor: SerialDescriptor = - * PrimitiveDescriptor("kotlinx.serialization.LongAsStringSerializer", PrimitiveKind.STRING) + * PrimitiveSerialDescriptor("kotlinx.serialization.LongAsStringSerializer", PrimitiveKind.STRING) * * override fun serialize(encoder: Encoder, value: Long) { * encoder.encodeString(value.toString())