mirror of
https://github.com/golang/go
synced 2024-11-18 07:04:52 -07:00
sort: fix typo in comment
Change-Id: Ia2c87473d63175db6cb36a21be0769ae9fcb4f8b Reviewed-on: https://go-review.googlesource.com/108695 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
15095be9fb
commit
d11df8baa8
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user