summary refs log tree commit diff stats
path: root/lib/pure
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2019-08-26 23:19:55 +0200
committerAndreas Rumpf <rumpf_a@web.de>2019-08-26 23:30:35 +0200
commit5a9edb222bc27ac2de00965af6e1101cfa435a79 (patch)
tree5a6eada020096d4e50e0825c6baeb460808a2dc9 /lib/pure
parent97d77bf37ef82bf106d96b234ac1551a79ac46c6 (diff)
downloadNim-5a9edb222bc27ac2de00965af6e1101cfa435a79.tar.gz
unicode.nim: fixed spacing to something sane
Diffstat (limited to 'lib/pure')
-rw-r--r--lib/pure/unicode.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/unicode.nim b/lib/pure/unicode.nim
index 35c364221..33b720f62 100644
--- a/lib/pure/unicode.nim
+++ b/lib/pure/unicode.nim
@@ -388,7 +388,7 @@ proc runeStrAtPos*(s: string, pos: Natural): string =
   ## * `runeAtPos proc <#runeAtPos,string,int>`_
   ## * `fastRuneAt template <#fastRuneAt.t,string,int,untyped>`_
   let o = runeOffset(s, pos)
-  s[o.. (o+runeLenAt(s, o)-1)]
+  s[o .. (o+runeLenAt(s, o)-1)]
 
 proc runeSubStr*(s: string, pos: int, len: int = int.high): string =
   ## Returns the UTF-8 substring starting at code point ``pos``