Skip to content
Snippets Groups Projects
Commit d11df8ba authored by Takayoshi Nishida's avatar Takayoshi Nishida Committed by Brad Fitzpatrick
Browse files

sort: fix typo in comment

Change-Id: Ia2c87473d63175db6cb36a21be0769ae9fcb4f8b
Reviewed-on: https://go-review.googlesource.com/108695


Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 15095be9
No related branches found
No related tags found
No related merge requests found
...@@ -482,7 +482,7 @@ func symMerge(data Interface, a, m, b int) { ...@@ -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'. // 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 performs at most b-a many calls to data.Swap.
// Rotate assumes non-degenerate arguments: a < m && m < b. // Rotate assumes non-degenerate arguments: a < m && m < b.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment