From f70d01a7d512ef305cb457db71b35995b3720a1d Mon Sep 17 00:00:00 2001 From: hlaaftana <10591326+hlaaftana@users.noreply.github.com> Date: Sun, 24 May 2020 07:26:49 +0300 Subject: [PATCH] fix repr(char) example assert (#14437) --- lib/system/repr_v2.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/system/repr_v2.nim b/lib/system/repr_v2.nim index be1a4cf3ac..fcc187a42c 100644 --- a/lib/system/repr_v2.nim +++ b/lib/system/repr_v2.nim @@ -32,7 +32,7 @@ proc repr*(x: char): string {.noSideEffect.} = ## converted to a string. ## ## .. code-block:: Nim - ## assert repr('c') == "c" + ## assert repr('c') == "'c'" '\'' & $x & '\'' proc repr*(x: cstring): string {.noSideEffect.} =