TRIVIAL go fmt

This commit is contained in:
Dan Buch 2012-11-18 20:21:16 -05:00
parent e99e5165bd
commit 9cb1be13fe

View File

@ -7,7 +7,7 @@ func BinarySearchRank(key int, a []int) int {
var mid int
for lo <= hi {
mid = lo + (hi - lo) / 2
mid = lo + (hi-lo)/2
if key < a[mid] {
hi = mid - 1
} else if key > a[mid] {