diff options
author | narimiran <narimiran@disroot.org> | 2020-07-06 11:24:43 +0200 |
---|---|---|
committer | narimiran <narimiran@disroot.org> | 2020-07-06 11:24:43 +0200 |
commit | 46aacf917f39d02c96175d358e7a76fc875ea070 (patch) | |
tree | 6f9595ae320659f6969f6cc743d2e39041aeca22 /lib/impure | |
parent | ebaf603c84a569b8de447fdb66bb05124d3a0772 (diff) | |
download | Nim-46aacf917f39d02c96175d358e7a76fc875ea070.tar.gz |
Fix style inconsistencies due to the previous commit
Diffstat (limited to 'lib/impure')
-rw-r--r-- | lib/impure/re.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/impure/re.nim b/lib/impure/re.nim index 24841b40e..fe3ea96ff 100644 --- a/lib/impure/re.nim +++ b/lib/impure/re.nim @@ -122,7 +122,7 @@ proc bufSubstr(b: cstring, sPos, ePos: int): string {.inline.} = ## Don't assume cstring is '\0' terminated let sz = ePos - sPos result = newString(sz+1) - copyMem(addr(result[0]), unsafeaddr(b[sPos]), sz) + copyMem(addr(result[0]), unsafeAddr(b[sPos]), sz) result.setLen(sz) proc matchOrFind(buf: cstring, pattern: Regex, matches: var openArray[string], |