Add critbits.toCritBitTree (#15444)

* Add critbits.toCritBitTree

* https://github.com/nim-lang/Nim/pull/15444#discussion_r498035342
This commit is contained in:
Juan Carlos 2020-10-01 10:11:10 -03:00 • committed by GitHub
commit 5e160bff1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 8 deletions

View file

@ -288,6 +288,9 @@ proc mydiv(a, b): int {.raises: [].} =
- `items` no longer compiles with enum with holes as its behavior was error prone, see #14004
- Added `critbits.toCritBitTree`, similar to `tables.toTable`, creates a new `CritBitTree` with given arguments.
## Compiler changes
- Specific warnings can now be turned into errors via `--warningAsError[X]:on|off`.