Skip to content

Commit

Permalink
Fix incorrect function name in PrimitiveSerialDescriptor doc comment (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
stkent authored May 1, 2023
1 parent 961e87d commit 0a6eb81
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public fun buildClassSerialDescriptor(
* ```
* object LongAsStringSerializer : KSerializer<Long> {
* 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())
Expand Down

0 comments on commit 0a6eb81

Please sign in to comment.