diff options
author | hlaaftana <10591326+hlaaftana@users.noreply.github.com> | 2020-05-24 07:26:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-23 21:26:49 -0700 |
commit | f70d01a7d512ef305cb457db71b35995b3720a1d (patch) | |
tree | 115c3f146c743647ab9fa26e5edf9f409cc558e7 /lib | |
parent | b012205b2e1a78b3cf336934f289891477b8c414 (diff) | |
download | Nim-f70d01a7d512ef305cb457db71b35995b3720a1d.tar.gz |
fix repr(char) example assert (#14437)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/system/repr_v2.nim | 2 |
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.} = |