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