Commit ed494c63 authored by Robert Griesemer's avatar Robert Griesemer

gofmt-ify sort, sync

R=rsc
http://go/go-review/1018057
parent 314b358a
......@@ -53,7 +53,7 @@ func medianOfThree(data Interface, a, b, c int) {
if data.Less(m1, m0) {
data.Swap(m1, m0);
}
// now data[m0] <= data[m1] <= data[m2]
// now data[m0] <= data[m1] <= data[m2]
}
func swapRange(data Interface, a, b, n int) {
......
......@@ -7,9 +7,9 @@
package sync_test
import (
"runtime";
. "sync";
"testing";
"runtime";
. "sync";
"testing";
)
func HammerSemaphore(s *uint32, cdone chan bool) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment