unicode.nim: fixed spacing to something sane

This commit is contained in:
Andreas Rumpf
2019-08-26 23:19:55 +02:00
parent 97d77bf37e
commit 5a9edb222b

View File

@@ -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``