Skip to content

Commit

Permalink
KDoc typo, listDescriptor -> listSerialDescriptor (#2011)
Browse files Browse the repository at this point in the history
  • Loading branch information
sya-ri committed Aug 15, 2022
1 parent 16a85df commit 96446b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -116,7 +116,7 @@ import kotlinx.serialization.encoding.*
* SerialDescriptor("my.package.Data") {
* // intField is deliberately ignored by serializer -- not present in the descriptor as well
* element<Long>("_longField") // longField is named as _longField
* element("stringField", listDescriptor<String>())
* element("stringField", listSerialDescriptor<String>())
* }
* ```
*
Expand Down
Expand Up @@ -27,8 +27,8 @@ import kotlin.reflect.*
* SerialDescriptor("my.package.Data") {
* // intField is deliberately ignored by serializer -- not present in the descriptor as well
* element<Long>("_longField") // longField is named as _longField
* element("stringField", listDescriptor<String>())
* element("nullableInt", descriptor<Int>().nullable)
* element("stringField", listSerialDescriptor<String>())
* element("nullableInt", serialDescriptor<Int>().nullable)
* }
* ```
*
Expand Down

0 comments on commit 96446b2

Please sign in to comment.