diff options
author | ringabout <43030857+ringabout@users.noreply.github.com> | 2022-11-01 17:18:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-01 10:18:04 +0100 |
commit | 6166b796ba159f8aaeb741cc2359ae32037262eb (patch) | |
tree | 1569156dc1015733da25edb5213380945e56037b /lib/pure/reservedmem.nim | |
parent | d735c447d35948ef6fda8270d1665cbd66c4636a (diff) | |
download | Nim-6166b796ba159f8aaeb741cc2359ae32037262eb.tar.gz |
refactor os imports into corresponding small modules (#20720)
Diffstat (limited to 'lib/pure/reservedmem.nim')
-rw-r--r-- | lib/pure/reservedmem.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/reservedmem.nim b/lib/pure/reservedmem.nim index 99fbe1429..d11539214 100644 --- a/lib/pure/reservedmem.nim +++ b/lib/pure/reservedmem.nim @@ -18,7 +18,7 @@ ## ## Unstable API. -from os import raiseOSError, osLastError +from std/oserrors import raiseOSError, osLastError template distance*(lhs, rhs: pointer): int = cast[int](rhs) - cast[int](lhs) |