diff options
author | Matt Bostock <matt@mattbostock.com> | 2016-02-16 18:53:46 +0000 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2016-02-18 19:20:41 +0000 |
commit | 8fd1634f443cebcb176c7a95104b61240733e420 (patch) | |
tree | ac2f8763376463c75acc27074b45713e78d3272a /src/sort | |
parent | 3e91e8aa356328c5a7c2ab0f6291f99c69145cdc (diff) | |
download | go-8fd1634f443cebcb176c7a95104b61240733e420.tar.gz go-8fd1634f443cebcb176c7a95104b61240733e420.zip |
sort: Fix typo in stable sort comment
Fix `reverences`, which I believe should read as `references`.
Change-Id: I450efcbeee0f8861a84b209f2e6636764034232a
Reviewed-on: https://go-review.googlesource.com/19469
Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/sort')
-rw-r--r-- | src/sort/sort.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sort/sort.go b/src/sort/sort.go index ac8f4a661f..5eb45c6d4a 100644 --- a/src/sort/sort.go +++ b/src/sort/sort.go @@ -335,7 +335,7 @@ func StringsAreSorted(a []string) bool { return IsSorted(StringSlice(a)) } // unstable or rely on enough different elements in each step to encode the // performed block rearrangements. See also "In-Place Merging Algorithms", // Denham Coates-Evely, Department of Computer Science, Kings College, -// January 2004 and the reverences in there. +// January 2004 and the references in there. // - Often "optimal" algorithms are optimal in the number of assignments // but Interface has only Swap as operation. |