summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pkg/sort/sort.go2
-rw-r--r--src/pkg/sync/mutex_test.go6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/pkg/sort/sort.go b/src/pkg/sort/sort.go
index 1e9832b40..ce7408b90 100644
--- a/src/pkg/sort/sort.go
+++ b/src/pkg/sort/sort.go
@@ -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) {
diff --git a/src/pkg/sync/mutex_test.go b/src/pkg/sync/mutex_test.go
index d7be79fff..03490af12 100644
--- a/src/pkg/sync/mutex_test.go
+++ b/src/pkg/sync/mutex_test.go
@@ -7,9 +7,9 @@
package sync_test
import (
- "runtime";
- . "sync";
- "testing";
+ "runtime";
+ . "sync";
+ "testing";
)
func HammerSemaphore(s *uint32, cdone chan bool) {