aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/container/vector/stringvector.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2009-10-13 13:05:16 -0700
committerRob Pike <r@golang.org>2009-10-13 13:05:16 -0700
commit8acb8fb7809ccbd1d0fba4c4d6661282f4645cef (patch)
treed9221abc51e7c2e7fcc6487c2db429caca61d019 /src/pkg/container/vector/stringvector.go
parentfd4767f2c5328a14b50874ad3a25518c673ccd12 (diff)
downloadgo-8acb8fb7809ccbd1d0fba4c4d6661282f4645cef.tar.xz
reduce stutter: sort.SortInterface -> sort.Interface.
ditto for heap.HeapInterface R=gri,rsc DELTA=31 (0 added, 1 deleted, 30 changed) OCL=35665 CL=35673
Diffstat (limited to 'src/pkg/container/vector/stringvector.go')
-rw-r--r--src/pkg/container/vector/stringvector.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/container/vector/stringvector.go b/src/pkg/container/vector/stringvector.go
index 4949d06b75..4e54ea85c4 100644
--- a/src/pkg/container/vector/stringvector.go
+++ b/src/pkg/container/vector/stringvector.go
@@ -92,7 +92,7 @@ func (p *StringVector) AppendVector(x *StringVector) {
}
-// SortInterface support
+// sort.Interface support
// Less returns a boolean denoting whether the i'th element is less than the j'th element.
func (p *StringVector) Less(i, j int) bool {
return p.At(i) < p.At(j);