Skip to content

Commit 55bfb6b

Browse files
authored
Refine doc comment in Debugger.swift
1 parent c39f9e2 commit 55bfb6b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/WasmKit/Execution/Debugger.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
extension [Int] {
44
/// Uses binary search to find an element in `self` that's next closest to a given value.
55
/// - Parameter value: the array element to search for or to use as a baseline when searching.
6-
/// - Returns: array element `result`, where `result - value` is the smallest possible, and `result > value`.
6+
/// - Returns: array element `result`, where `result - value` is the smallest possible, while
7+
/// `result > value` also holds.
78
fileprivate func binarySearch(nextClosestTo value: Int) -> Int? {
89
switch self.count {
910
case 0:

0 commit comments

Comments
 (0)