mirror of
https://github.com/golang/go
synced 2024-11-17 10:14:46 -07:00
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>
This commit is contained in:
parent
76a615b20a
commit
fc981654c7
@ -27,7 +27,7 @@ type Interface interface {
|
|||||||
//
|
//
|
||||||
// Note that floating-point comparison (the < operator on float32 or float64 values)
|
// 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.
|
// 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
|
Less(i, j int) bool
|
||||||
|
|
||||||
// Swap swaps the elements with indexes i and j.
|
// Swap swaps the elements with indexes i and j.
|
||||||
|
Loading…
Reference in New Issue
Block a user