From 5a9edb222bc27ac2de00965af6e1101cfa435a79 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Mon, 26 Aug 2019 23:19:55 +0200 Subject: [PATCH] unicode.nim: fixed spacing to something sane --- lib/pure/unicode.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pure/unicode.nim b/lib/pure/unicode.nim index 35c3642218..33b720f623 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``