]> Cypherpunks.ru repositories - gostls13.git/commitdiff
sort: Fix typo in stable sort comment
authorMatt Bostock <matt@mattbostock.com>
Tue, 16 Feb 2016 18:53:46 +0000 (18:53 +0000)
committerRobert Griesemer <gri@golang.org>
Thu, 18 Feb 2016 19:20:41 +0000 (19:20 +0000)
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>
src/sort/sort.go

index ac8f4a661fc7c345f118239bbf74bf53e5cab8b2..5eb45c6d4a1cfe000e077259b9c862c57ce66d3d 100644 (file)
@@ -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.