Removed some accidental semi-colons and converted indentation to tabs.

This commit is contained in:
Hector
2023-11-25 16:36:51 +00:00
parent 82088e4a75
commit 9f96382558
+2 -2
View File
@@ -182,7 +182,7 @@ binary_search_by :: proc(array: $A/[]$T, key: T, f: proc(T, T) -> Ordering) -> (
right := size right := size
for left < right { for left < right {
mid := left + size / 2; mid := left + size / 2
// Steps to verify this is in-bounds: // Steps to verify this is in-bounds:
// 1. We note that `size` is strictly positive due to the loop condition // 1. We note that `size` is strictly positive due to the loop condition
@@ -201,7 +201,7 @@ binary_search_by :: proc(array: $A/[]$T, key: T, f: proc(T, T) -> Ordering) -> (
case .Greater: right = mid case .Greater: right = mid
} }
size = right - left; size = right - left
} }
return left, false return left, false