diff options
author | Miran <narimiran@disroot.org> | 2020-06-17 15:25:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-17 15:25:02 +0200 |
commit | e7f280bd26a54b4f187b087c8d35f43f0e6328c7 (patch) | |
tree | 59ceb2dc34d14e8b983722ef9092632737d3a033 /lib/pure/algorithm.nim | |
parent | 861953429362d72a76fe3768a25db3f8a1cf70ee (diff) | |
download | Nim-e7f280bd26a54b4f187b087c8d35f43f0e6328c7.tar.gz |
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
Diffstat (limited to 'lib/pure/algorithm.nim')
-rw-r--r-- | lib/pure/algorithm.nim | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/pure/algorithm.nim b/lib/pure/algorithm.nim index 91f2f41b8..4a6c2510a 100644 --- a/lib/pure/algorithm.nim +++ b/lib/pure/algorithm.nim @@ -223,10 +223,6 @@ proc binarySearch*[T](a: openArray[T], key: T): int = assert binarySearch([0, 1, 4, 2, 3], 4) == 2 binarySearch(a, key, cmp[T]) -proc smartBinarySearch*[T](a: openArray[T], key: T): int {.deprecated: - "Deprecated since v0.18.1; Use 'binarySearch'".} = - binarySearch(a, key, cmp[T]) - const onlySafeCode = true |