diff options
author | zikaeroh <zikaeroh@gmail.com> | 2020-10-17 00:25:58 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2020-10-17 22:58:33 +0000 |
commit | fc981654c763c2c1d72df2a6e35ba3dfc78d13ee (patch) | |
tree | 090b265912e226d9ad4fc07338602dc31d43fc05 /src/sort | |
parent | 76a615b20a943b7255ac1cb3944df62a1dbc882c (diff) | |
download | go-fc981654c763c2c1d72df2a6e35ba3dfc78d13ee.tar.gz go-fc981654c763c2c1d72df2a6e35ba3dfc78d13ee.zip |
sort: fix grammar in updated Less comment
The rewritten comment didn't sound right to my ears. Tweak it to be
grammatically correct.
Change-Id: Iae7d9f8810fff78cfd964bb3117099bce4479c14
Reviewed-on: https://go-review.googlesource.com/c/go/+/263180
Reviewed-by: Robert Griesemer <gri@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Robert Griesemer <gri@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 75e03435e0..cbaa8c3aac 100644 --- a/src/sort/sort.go +++ b/src/sort/sort.go @@ -27,7 +27,7 @@ type Interface interface { // // Note that floating-point comparison (the < operator on float32 or float64 values) // is not a transitive ordering when not-a-number (NaN) values are involved. - // See Float64Slice.Less a correctly implementation for floating-point values. + // See Float64Slice.Less for a correct implementation for floating-point values. Less(i, j int) bool // Swap swaps the elements with indexes i and j. |