aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrateik Lohani <91936249+Prateik-Lohani-07@users.noreply.github.com>2026-01-15 08:05:23 +0000
committerGopher Robot <gobot@golang.org>2026-01-15 08:36:28 -0800
commit9ef26e96e3ae1e3a3d5e01a9b7fd1fa4dc5d6dd5 (patch)
treed311717b63c9afe1884b22c69232277d8e8b5528
parent2bc4315d92a70d9a5e895d60defba4f799798806 (diff)
downloadgo-9ef26e96e3ae1e3a3d5e01a9b7fd1fa4dc5d6dd5.tar.xz
sort: improve comment readability for Stable function
Change-Id: I3bc9f906f85e2b5f3d4ba6484e3c125065e36b57 GitHub-Last-Rev: 5d637c132533691d5a56fd00845bdb1d349642a3 GitHub-Pull-Request: golang/go#77190 Reviewed-on: https://go-review.googlesource.com/c/go/+/736501 Reviewed-by: Robert Griesemer <gri@google.com> Auto-Submit: Keith Randall <khr@golang.org> Auto-Submit: Robert Griesemer <gri@google.com> Reviewed-by: Keith Randall <khr@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Keith Randall <khr@golang.org>
-rw-r--r--src/sort/sort.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sort/sort.go b/src/sort/sort.go
index fd3cd6dabf..087e7d033d 100644
--- a/src/sort/sort.go
+++ b/src/sort/sort.go
@@ -197,7 +197,7 @@ func Float64sAreSorted(x []float64) bool { return slices.IsSorted(x) }
func StringsAreSorted(x []string) bool { return slices.IsSorted(x) }
// Notes on stable sorting:
-// The used algorithms are simple and provable correct on all input and use
+// The used algorithms are simple and provably correct on all input and use
// only logarithmic additional stack space. They perform well if compared
// experimentally to other stable in-place sorting algorithms.
//