]> Cypherpunks repositories - gostls13.git/commit
sort: update comments
authorRuss Cox <rsc@golang.org>
Thu, 15 Oct 2020 16:09:56 +0000 (12:09 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 16 Oct 2020 04:13:45 +0000 (04:13 +0000)
commitaf8748054b40e9a1e529e42a0f83cc2c90a35af6
treeaa12f30b601fafdd24cd36d742a000856229445b
parent912262b806a432a29302e0cee45e4f42ef7038a2
sort: update comments

- Describe requirements on Less more precisely.
- Standardize on x for the variable name of the data being sorted
  (was variously a, p, slice).
- Many other minor wording changes.

Fixes #41951.

Change-Id: Ic9e222a53ec035fcc3b5ddfc7f0eefbe1bb2890d
Reviewed-on: https://go-review.googlesource.com/c/go/+/262657
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
src/sort/slice.go
src/sort/sort.go