mirror of
https://github.com/status-im/nim-stint.git
synced 2025-02-16 17:07:23 +00:00
Fix failing tests due to Nim string change between Apr 27 and Apr 29 (doc: 5237ef4f52
)
This commit is contained in:
parent
fd0482180f
commit
d68c0bf44a
@ -96,7 +96,7 @@ func nextNonBlank(current_idx: var int, s: string) {.inline.} =
|
|||||||
const blanks = {' ', '_'}
|
const blanks = {' ', '_'}
|
||||||
|
|
||||||
inc current_idx
|
inc current_idx
|
||||||
while s[current_idx] in blanks and current_idx < s.len:
|
while current_idx < s.len and s[current_idx] in blanks:
|
||||||
inc current_idx
|
inc current_idx
|
||||||
|
|
||||||
func readDecChar(c: range['0'..'9']): int {.inline.}=
|
func readDecChar(c: range['0'..'9']): int {.inline.}=
|
||||||
|
Loading…
x
Reference in New Issue
Block a user