mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-04 20:17:42 +00:00
even more strict isNil handling for strings/seqs in order to detect bugs
This commit is contained in:
@@ -61,7 +61,6 @@ proc unidecode*(s: string): string =
|
||||
##
|
||||
## Results in: "Bei Jing"
|
||||
##
|
||||
assert(not isNil(translationTable))
|
||||
result = ""
|
||||
for r in runes(s):
|
||||
var c = int(r)
|
||||
|
||||
Reference in New Issue
Block a user