]> Cypherpunks repositories - gostls13.git/commitdiff
sort: change let to let's
authorGiantsLoveDeathMetal <sebastien@cytora.com>
Fri, 25 Jan 2019 02:07:03 +0000 (02:07 +0000)
committerEmmanuel Odeke <emm.odeke@gmail.com>
Sun, 27 Jan 2019 01:34:56 +0000 (01:34 +0000)
Trivial typo

Change-Id: I3804f365519453bfa19997f55ead34742ac1a9db
GitHub-Last-Rev: 0e04e928d05121099b78a2cefc1cb7531f6a7650
GitHub-Pull-Request: golang/go#29930
Reviewed-on: https://go-review.googlesource.com/c/159479
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
src/sort/sort.go

index 7282b26ec4b6f7b6d1929101982462c65e61f0b5..dd5bb3762e364bff87a8baf4d809c63f5795a4dc 100644 (file)
@@ -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