| ... | @@ -749,9 +749,9 @@ test partitionPoint { | ... | @@ -749,9 +749,9 @@ test partitionPoint { |
| 749 | | 749 | |
| 750 | /// Returns a tuple of the lower and upper indices in `items` between which all | 750 | /// Returns a tuple of the lower and upper indices in `items` between which all |
| 751 | /// elements return `.eq` when given to `compareFn`. | 751 | /// elements return `.eq` when given to `compareFn`. |
| 752 | /// - If no element in `items` returns `.eq`, both indices are the | 752 | /// If no element in `items` returns `.eq`, both indices are the index of the |
| 753 | /// index of the first element in `items` returning `.gt`. | 753 | /// first element in `items` which returns `.gt`, or if no element returns `.gt`, |
| 754 | /// - If no element in `items` returns `.gt`, both indices equal `items.len`. | 754 | /// both indices are `items.len`. |
| 755 | /// | 755 | /// |
| 756 | /// `items` must be sorted in ascending order with respect to `compareFn`: | 756 | /// `items` must be sorted in ascending order with respect to `compareFn`: |
| 757 | /// ``` | 757 | /// ``` |