From: Matt Bostock Date: Tue, 16 Feb 2016 18:53:46 +0000 (+0000) Subject: sort: Fix typo in stable sort comment X-Git-Tag: go1.7beta1~1849 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=8fd1634f443cebcb176c7a95104b61240733e420;p=gostls13.git 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 --- 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.