From e127b49cd4bae0d7176c3854145df798ddc759b2 Mon Sep 17 00:00:00 2001 From: Jacek Sieka Date: Fri, 28 Jun 2019 09:50:51 +0200 Subject: [PATCH] fix typo --- json_serialization/reader.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json_serialization/reader.nim b/json_serialization/reader.nim index 25cc032..423037b 100644 --- a/json_serialization/reader.nim +++ b/json_serialization/reader.nim @@ -41,7 +41,7 @@ method formatMsg*(err: ref JsonReaderError, filename: string): string = fmt"{filename}({err.line}, {err.col}) Error while reading json file" method formatMsg*(err: ref UnexpectedField, filename: string): string = - fmt"{filename}({err.line}, {err.col}) Unexpected field '{err.encounteredField}' while deserialing {err.deserializedType}" + fmt"{filename}({err.line}, {err.col}) Unexpected field '{err.encounteredField}' while deserializing {err.deserializedType}" method formatMsg*(err: ref UnexpectedToken, filename: string): string = fmt"{filename}({err.line}, {err.col}) Unexpected token '{err.encountedToken}' in place of '{err.expectedToken}'"