Skip to content

Commit bf3269b

Browse files
TheMrMilchmannqwwdfsad
authored andcommitted
Fix misleading token description
1 parent 9650a28 commit bf3269b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

formats/json/commonMain/src/kotlinx/serialization/json/internal/lexer/AbstractJsonLexer.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ internal abstract class AbstractJsonLexer {
213213
val expected = when (expectedToken) {
214214
TC_STRING -> "quotation mark '\"'"
215215
TC_COMMA -> "comma ','"
216-
TC_COLON -> "semicolon ':'"
216+
TC_COLON -> "colon ':'"
217217
TC_BEGIN_OBJ -> "start of the object '{'"
218218
TC_END_OBJ -> "end of the object '}'"
219219
TC_BEGIN_LIST -> "start of the array '['"

0 commit comments

Comments
 (0)