1
0
mirror of https://github.com/golang/go synced 2024-11-18 09:14:43 -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:
Takayoshi Nishida 2018-04-21 23:30:44 +07:00 committed by Brad Fitzpatrick
parent 15095be9fb
commit d11df8baa8

View File

@ -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.