mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-21 18:36:50 +00:00
unicode.nim: fixed spacing to something sane
This commit is contained in:
@@ -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``
|
||||
|
||||
Reference in New Issue
Block a user