diff --git a/src/sort/sort.go b/src/sort/sort.go index 7282b26ec4b6f7b6d1929101982462c65e61f0b5..dd5bb3762e364bff87a8baf4d809c63f5795a4dc 100644 --- a/src/sort/sort.go +++ b/src/sort/sort.go @@ -131,7 +131,7 @@ func doPivot(data Interface, lo, hi int) (midlo, midhi int) { c-- } // If hi-c<3 then there are duplicates (by property of median of nine). - // Let be a bit more conservative, and set border to 5. + // Let's be a bit more conservative, and set border to 5. protect := hi-c < 5 if !protect && hi-c < (hi-lo)/4 { // Lets test some points for equality to pivot