summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Symonds <dsymonds@golang.org>2009-08-28 02:27:32 -0700
committerDavid Symonds <dsymonds@golang.org>2009-08-28 02:27:32 -0700
commitf9b04504882297c3f9c388b1fb4fd38aa16bef7f (patch)
treeaae84c2c8e6baac05d99ffb65371f84a30e3f059
parentb4423c1ec12bb31eef2bfff6872636d211aff60f (diff)
downloadgolang-f9b04504882297c3f9c388b1fb4fd38aa16bef7f.tar.gz
Build fix: fix typo in sort pkg.
APPROVED=rsc DELTA=2 (0 added, 0 deleted, 2 changed) OCL=34016 CL=34022
-rw-r--r--src/pkg/sort/sort.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/sort/sort.go b/src/pkg/sort/sort.go
index 70c746de6..a54a57258 100644
--- a/src/pkg/sort/sort.go
+++ b/src/pkg/sort/sort.go
@@ -164,7 +164,7 @@ func (p FloatArray) Less(i, j int) bool { return p[i] < p[j]; }
func (p FloatArray) Swap(i, j int) { p[i], p[j] = p[j], p[i]; }
// Sort is a convenience method.
-ffunc (p FloatArray) Sort() { Sort(p); }
+func (p FloatArray) Sort() { Sort(p); }
// StringArray attaches the methods of SortInterface to []string, sorting in increasing order.
@@ -175,7 +175,7 @@ func (p StringArray) Less(i, j int) bool { return p[i] < p[j]; }
func (p StringArray) Swap(i, j int) { p[i], p[j] = p[j], p[i]; }
// Sort is a convenience method.
-ffunc (p StringArray) Sort() { Sort(p); }
+func (p StringArray) Sort() { Sort(p); }
// Convenience wrappers for common cases