Comment on isSorted complexity. (#10686) [ci skip]

This commit is contained in:
Federico Ceratto
2019-02-16 14:56:26 +00:00
committed by Miran
parent 2610b16f6e
commit 51c43218c9

View File

@@ -511,7 +511,7 @@ func isSorted*[T](a: openArray[T],
order = SortOrder.Ascending): bool =
## Checks to see whether ``a`` is already sorted in ``order``
## using ``cmp`` for the comparison. Parameters identical
## to ``sort``.
## to ``sort``. Requires O(n) time.
##
## **See also:**
## * `isSorted proc<#isSorted,openArray[T]>`_