We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6efacf commit 0fd1cedCopy full SHA for 0fd1ced
src/dotty/tools/dotc/util/Util.scala
@@ -10,7 +10,6 @@ object Util {
10
* as the first search point, otherwise use
11
* `candidates.length/2`.
12
* @pre candidates is sorted
13
- * @pre candidates(0) <= x
14
*/
15
def bestFit(candidates: Array[Int], x: Int, hint: Int = -1): Int = {
16
def recur(lo: Int, hi: Int, mid: Int): Int =
0 commit comments