Skip to content

Commit 966b4d5

Browse files
authored
Documentation typo (#863)
corrected comment typo
1 parent e0a9a4b commit 966b4d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/custom_serializers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class BinaryPayload(val req: ByteArray, val res: ByteArray) {
7979
companion object : KSerializer<BinaryPayload> {
8080
override val descriptor: SerialDescriptor = SerialDescriptor("BinaryPayload") {
8181
element<String>("req") // req will have index 0
82-
element<String>("res") // req will have index 1
82+
element<String>("res") // res will have index 1
8383
}
8484
}
8585
}

0 commit comments

Comments
 (0)