Remove deprecated stuff from stdlib (#14699)
* update to the latest Jester * remove deprecated procs from some stdlib modules * 'criterion' is not maintained anymore and relies on obsolete stuff
This commit is contained in:
parent
8619534293
commit
e7f280bd26
41 changed files with 155 additions and 519 deletions
|
|
@ -183,14 +183,6 @@ proc `$`*[T](heap: HeapQueue[T]): string =
|
|||
result.addQuoted(x)
|
||||
result.add("]")
|
||||
|
||||
proc newHeapQueue*[T](): HeapQueue[T] {.deprecated:
|
||||
"Deprecated since v0.20.0: use 'initHeapQueue' instead.".} =
|
||||
initHeapQueue[T]()
|
||||
|
||||
proc newHeapQueue*[T](heap: var HeapQueue[T]) {.deprecated:
|
||||
"Deprecated since v0.20.0: use 'clear' instead.".} =
|
||||
heap.clear()
|
||||
|
||||
when isMainModule:
|
||||
proc toSortedSeq[T](h: HeapQueue[T]): seq[T] =
|
||||
var tmp = h
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue