mirror of https://github.com/golang/go.git
sort: change let to let's
Trivial typo
Change-Id: I3804f365519453bfa19997f55ead34742ac1a9db
GitHub-Last-Rev: 0e04e928d0
GitHub-Pull-Request: golang/go#29930
Reviewed-on: https://go-review.googlesource.com/c/159479
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
This commit is contained in:
parent
8c10ce164f
commit
4e056ade24
|
|
@ -131,7 +131,7 @@ func doPivot(data Interface, lo, hi int) (midlo, midhi int) {
|
||||||
c--
|
c--
|
||||||
}
|
}
|
||||||
// If hi-c<3 then there are duplicates (by property of median of nine).
|
// 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
|
protect := hi-c < 5
|
||||||
if !protect && hi-c < (hi-lo)/4 {
|
if !protect && hi-c < (hi-lo)/4 {
|
||||||
// Lets test some points for equality to pivot
|
// Lets test some points for equality to pivot
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue