summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--lib/system/repr_v2.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/repr_v2.nim b/lib/system/repr_v2.nim
index be1a4cf3a..fcc187a42 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.} =