Renamed to toRunes
This commit is contained in:
parent
64b3395ade
commit
c334e89ee7
1 changed files with 1 additions and 1 deletions
|
|
@ -1260,7 +1260,7 @@ iterator runes*(s: string): Rune =
|
||||||
fastRuneAt(s, i, result, true)
|
fastRuneAt(s, i, result, true)
|
||||||
yield result
|
yield result
|
||||||
|
|
||||||
proc runesIn*(s: string): seq[Rune] =
|
proc toRunes*(s: string): seq[Rune] =
|
||||||
## Obtain a sequence containing the Runes in `s`
|
## Obtain a sequence containing the Runes in `s`
|
||||||
result = newSeq[Rune]()
|
result = newSeq[Rune]()
|
||||||
for r in s.runes:
|
for r in s.runes:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue