]> Cypherpunks repositories - gostls13.git/commitdiff
sort: fix typo in comment
authorTakayoshi Nishida <takayoshi.nishida@gmail.com>
Sat, 21 Apr 2018 16:30:44 +0000 (23:30 +0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sun, 22 Apr 2018 22:32:11 +0000 (22:32 +0000)
Change-Id: Ia2c87473d63175db6cb36a21be0769ae9fcb4f8b
Reviewed-on: https://go-review.googlesource.com/108695
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/sort/sort.go

index a7304af53de2bce3a5d6e99ab0fd5d88d5217625..7282b26ec4b6f7b6d1929101982462c65e61f0b5 100644 (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.