Skip to content

Commit d11df8b

Browse files
takpbradfitz
authored andcommitted
sort: fix typo in comment
Change-Id: Ia2c87473d63175db6cb36a21be0769ae9fcb4f8b Reviewed-on: https://go-review.googlesource.com/108695 Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 15095be commit d11df8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sort/sort.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ func symMerge(data Interface, a, m, b int) {
482482
}
483483
}
484484

485-
// Rotate two consecutives blocks u = data[a:m] and v = data[m:b] in data:
485+
// Rotate two consecutive blocks u = data[a:m] and v = data[m:b] in data:
486486
// Data of the form 'x u v y' is changed to 'x v u y'.
487487
// Rotate performs at most b-a many calls to data.Swap.
488488
// Rotate assumes non-degenerate arguments: a < m && m < b.

0 commit comments

Comments
 (0)