critbits: fix error from strictFuncs (#16877)
Previously, compiling a file containing just `import critbits` with
`nim c --experimental:strictFuncs` would produce the following error:
critbits.nim(529, 6) Error: 'toCritBitTree' can have side effects
This was introduced by 2aed418698 (#16564).
Fixes: #16873
This commit is contained in:
parent
74f8a8e38a
commit
0b01eddace
2 changed files with 3 additions and 2 deletions
|
|
@ -7,6 +7,7 @@ import tables, streams, parsecsv
|
|||
# They are otherwise unused in this file.
|
||||
import
|
||||
complex,
|
||||
critbits,
|
||||
httpcore,
|
||||
math,
|
||||
nre,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue