From fc981654c763c2c1d72df2a6e35ba3dfc78d13ee Mon Sep 17 00:00:00 2001 From: zikaeroh Date: Sat, 17 Oct 2020 00:25:58 -0700 Subject: [PATCH] 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 Reviewed-by: Ian Lance Taylor Trust: Robert Griesemer --- src/sort/sort.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sort/sort.go b/src/sort/sort.go index 75e03435e04..cbaa8c3aac2 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.