summaryrefslogtreecommitdiff
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
commit00eee8bd56594f7993a150770ebc6ab478db5b76 (patch)
treed9221abc51e7c2e7fcc6487c2db429caca61d019 /src/pkg/container/vector/stringvector.go
parentf3ea8729fa2cd899a68d2143c56e6a5bea0ba2f5 (diff)
downloadgolang-00eee8bd56594f7993a150770ebc6ab478db5b76.tar.gz
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 4949d06b7..4e54ea85c 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);