diff --git a/lib/system/repr_v2.nim b/lib/system/repr_v2.nim index be1a4cf3acc9d..fcc187a42c4cf 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.} =