diff options
author | Takayoshi Nishida <takayoshi.nishida@gmail.com> | 2018-04-21 23:30:44 +0700 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2018-04-22 22:32:11 +0000 |
commit | d11df8baa8c18c7cf14e7286f55ae56f4439d1cd (patch) | |
tree | 9871efeabaac562578b610d352da086dc37db8ba /src/sort | |
parent | 15095be9fbe726d4a3ef43b68d2fbc83e6484ded (diff) | |
download | go-d11df8baa8c18c7cf14e7286f55ae56f4439d1cd.tar.gz go-d11df8baa8c18c7cf14e7286f55ae56f4439d1cd.zip |
sort: fix typo in comment
Change-Id: Ia2c87473d63175db6cb36a21be0769ae9fcb4f8b
Reviewed-on: https://go-review.googlesource.com/108695
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/sort')
-rw-r--r-- | src/sort/sort.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sort/sort.go b/src/sort/sort.go index a7304af53d..7282b26ec4 100644 --- a/src/sort/sort.go +++ b/src/sort/sort.go @@ -482,7 +482,7 @@ func symMerge(data Interface, a, m, b int) { } } -// Rotate two consecutives blocks u = data[a:m] and v = data[m:b] in data: +// Rotate two consecutive blocks u = data[a:m] and v = data[m:b] in data: // Data of the form 'x u v y' is changed to 'x v u y'. // Rotate performs at most b-a many calls to data.Swap. // Rotate assumes non-degenerate arguments: a < m && m < b. |